An open API service indexing awesome lists of open source software.

https://github.com/weihanli/weihanli.entityframework

EntityFrameworkCore extensions
https://github.com/weihanli/weihanli.entityframework

audit ef efcore entity-framework-core entityframework entityframework-extensions repository unit-of-work weihanli

Last synced: 12 months ago
JSON representation

EntityFrameworkCore extensions

Awesome Lists containing this project

README

          

# WeihanLi.EntityFramework

[![WeihanLi.EntityFramework](https://img.shields.io/nuget/v/WeihanLi.EntityFramework.svg)](https://www.nuget.org/packages/WeihanLi.EntityFramework/)

[![WeihanLi.EntityFramework Latest](https://img.shields.io/nuget/vpre/WeihanLi.EntityFramework)](https://www.nuget.org/packages/WeihanLi.EntityFramework/absoluteLatest)

[![Pipeline Build Status](https://weihanli.visualstudio.com/Pipelines/_apis/build/status/WeihanLi.WeihanLi.EntityFramework?branchName=dev)](https://weihanli.visualstudio.com/Pipelines/_build/latest?definitionId=11&branchName=dev)

![Github Build Status](https://github.com/WeihanLi/WeihanLi.EntityFramework/workflows/default/badge.svg)

## Intro

[EntityFrameworkCore](https://github.com/dotnet/efcore) extensions

## Package Release Notes

See Releases/PRs for details

- Releases: https://github.com/WeihanLi/WeihanLi.EntityFramework/releases
- PRs: https://github.com/WeihanLi/WeihanLi.EntityFramework/pulls?q=is%3Apr+is%3Aclosed+is%3Amerged+base%3Amaster

> Package Versions
>
> For EF 8 and above, use 8.x or above major-version matched versions
>
> For EF 7, use 3.x
>
> For EF Core 5/6, use 2.x
>
> For EF Core 3.x, use 1.5.0 above, and 2.0.0 below
>
> For EF Core 2.x , use 1.4.x and below

## Features

- Repository

- `EFRepository`
- `EFRepositoryGenerator`

- UoW

- `EFUnitOfWork`

- DbFunctions

- `JsonValue` implement `JSON_VALUE` for SqlServer 2016 and above

- Audit

- Auto auditing for entity changes

- AutoUpdate

- Soft delete for the specific entity
- Auto update CreatedAt/UpdatedAt/CreatedBy/UpdatedBy

- Extensions

- Update specific column(s) `Update`
- Update without specific column(s) `UpdateWithout`

## Support

Feel free to try and [create issues](https://github.com/WeihanLi/WeihanLi.EntityFramework/issues/new) if you have any questions or integration issues