Releases: zzzprojects/EntityFramework-Plus
Releases · zzzprojects/EntityFramework-Plus
v1.6.10
Download the library here
- ADDED: Batch Delete - Added
UseTableLockoption - ADDED: Batch Update- Added
UseTableLockoption - ADDED: Query Future - Added
AllowQueryBatchoption
QueryFutureManager.AllowQueryBatch = false;
ctx.Activities.Where(a => a.DateCreated < d).Delete(delete => delete.UseTableLock = false );v1.6.9
v1.6.8
Download the library here
- ADDED: Async method for Query Future (Issue #197)
- FIXED: Missing line for cast (Issue #135)
- FIXED: Query Future DataReader was causing some problem in EF Core (Issue #187)
- FIXED: Batch Delete Executing at wrong place (Issue #198)
- FIXED: MySQL escape for BatchUpdate (Issue #201)
- FIXED: GetModel for custom connection (Issue #202)
v1.6.7
Download the library here
- ADDED: QueryFutureManager.ExecuteBatch(ctx) (Issue #190)
- ADDED: QueryFutureValue && Implicit conversion (Pull #189)
- FIXED: Include Filter && Case (Issue #135)
- FIXED: Batch Update with property without using a calculated value (Issue #191)
Thank you @Immelstorn for your contribution with the pull #189
v1.6.6
v1.6.5
v1.6.4
v1.6.3
v1.6.2
Download the library here
- ADDED: QueryCache - IsCommandInfoOptionalForCacheKey (Require UseTagsAsCacheKey or UseFirstTagAsCacheKey enabled)
When this option is enabled, all information from command become optional (Connection && CommandText). They are only included if there are found. It allows caching any kind of list even when not coming from Entity Framework.
var listA = new List<CustomEntity>() { new CustomEntity() { X = 1 }, new CustomEntity() { X = 2 }, new CustomEntity() { X = 3 }};
var listB = new List<CustomEntity>() { new CustomEntity() { X = 4 }, new CustomEntity() { X = 5 }, new CustomEntity() { X = 6 } };
QueryCacheManager.IsCommandInfoOptionalForCacheKey = true;
QueryCacheManager.UseTagsAsCacheKey = true;
var t1 = listA.AsQueryable().FromCache("a");
var t2 = listB.AsQueryable().FromCache("a");