EntityFrameworkCore extensions
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
-
Repository
EFRepository
EFRepositoryGenerator
-
UoW
EFUnitOfWork
-
DbFunctions
JsonValue
implementJSON_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
- Update specific column(s)
Feel free to try and create issues if you have any questions or integration issues