EntityFramework-Plus

Entity Framework Plus extends your DbContext with must-haves features: Include Filter, Auditing, Caching, Query Future, Batch Delete, Batch Update, and more

MIT License

Stars
2.2K

Bot releases are hidden (Show)

EntityFramework-Plus - v1.7.1

Published by JonathanMagnan about 7 years ago

Download the library here

PATCH

  • FIXED: Audit | Retrieve Deleted Audit #244
  • FIXED: EFCore: DateTime in wrong format for sql server to interpret correctly. #243
  • ADDED: EF6: QueryFilter - QueryFilterManager.AllowPropertyFilter = true now allow to filter single (non-collection) property.
QueryFilterManager.AllowPropertyFilter = true;

using (var ctx = new EntityContext())
{
    ctx.Filter<Invoice>(q => q.Where(x => !x.IsDeleted));
    ctx.Filter<InvoiceItem>(q => q.Where(x => !x.IsDeleted));

    var list = ctx.InvoiceItems.Where(x => x.Invoice.Total > 400).Include("Invoice").ToList();
}
EntityFramework-Plus - v1.7.0

Published by JonathanMagnan about 7 years ago

Download the library here

MINOR

  • ADDED: EF+ Query DbSetFilter for EF6 (Same code as previously before Query Filter switched to interceptor) (Issue #231 #234 )

PATCH

  • FIXED: Collection.Count capability doesn't work (Issue #242)
EntityFramework-Plus - v1.6.21

Published by JonathanMagnan about 7 years ago

Download the library here

  • FIXED: EF6 - Query filter issue with missing line for Global Filter (Issue #234)
  • ADDED: First attempt to support LinqKit
EntityFramework-Plus - v1.6.20

Published by JonathanMagnan about 7 years ago

Download the library here

  • FIXED: EF6 - Query filter with null (Issue #214)
  • ADDED: Audit EntityCurrent state has been added
  • FIXED: EF Core Release (Issue #231)
  • FIXED: Batch Delete Issue (Issue #215)
EntityFramework-Plus - v1.6.19

Published by JonathanMagnan about 7 years ago

Download the library here

  • FIXED: Issue with Conditional Expression for BatchUpdate (Issue #226 && Pull #228 )

Thank you @panizza for your contribution

EntityFramework-Plus - v1.6.18

Published by JonathanMagnan about 7 years ago

Download the library here

  • ADDED: Support to Memory Effort (Pull #227)
  • FIXED: Issue with Conditional Expression for BatchUpdate (Issue #226)
EntityFramework-Plus - v1.6.17

Published by JonathanMagnan about 7 years ago

Download the library here

  • ADDED: BatchDelete support for SQLite provider to EF Core (Issue #212)
  • ADDED: BatchUpdate support for SQLite provider to EF Core (Issue #212)
  • FIXED: Issue with Conditional Expression for BatchUpdate (Issue #195)
EntityFramework-Plus - v1.6.16

Published by JonathanMagnan about 7 years ago

Download the library here

  • ADDED: BatchDelete support for SQLite provider (Issue #212)
  • ADDED: BatchUpdate support for SQLite provider (Issue #212)
EntityFramework-Plus - v1.6.13

Published by JonathanMagnan about 7 years ago

Download the library here

  • FIXED: Issue with DbType on EF6 (Issue #219)
  • FIXED: Issue with DbType on EF Core (Issue #221)
EntityFramework-Plus - v1.6.12

Published by JonathanMagnan about 7 years ago

Download the library here

  • FIXED: BatchUpdate && DateTime on SQL Server (Issue #209)
  • FIXED: BatchUpdate && Oracle (Issue #210)
  • FIXED: Auditing && Relationship (Issue #216)
  • FIXED: EF Core InMemory for Query Future (Issue #218)
EntityFramework-Plus - v1.6.11

Published by JonathanMagnan about 7 years ago

Download the library here

  • ADDED: Support to Entity Framework Core 2.0 (Issue #182, #213)

Thank you @tvoisin for your contribution (Pull #184)

EntityFramework-Plus - v1.6.10

Published by JonathanMagnan about 7 years ago

Download the library here

  • ADDED: Batch Delete - Added UseTableLock option
  • ADDED: Batch Update- Added UseTableLock option
  • ADDED: Query Future - Added AllowQueryBatch option
QueryFutureManager.AllowQueryBatch = false;

 ctx.Activities.Where(a => a.DateCreated < d).Delete(delete => delete.UseTableLock = false );
EntityFramework-Plus - v1.6.9

Published by JonathanMagnan about 7 years ago

Download the library here

  • FIXED: BatchDelete now use InterceptionContext for EF6
  • FIXED: BatchUpdate now use InterceptionContext for EF6
EntityFramework-Plus - v1.6.8

Published by JonathanMagnan about 7 years ago

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)
EntityFramework-Plus - v1.6.7

Published by JonathanMagnan about 7 years ago

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

EntityFramework-Plus - v1.6.6

Published by JonathanMagnan over 7 years ago

Download the library here

  • ADDED: Support to MySQL for .NET Core (Issue #182)
EntityFramework-Plus - v1.6.5

Published by JonathanMagnan over 7 years ago

Download the library here

  • FIXED: Batch Delete && Batch Update for WHERE clause use contains in an empty list (Issue #180)
  • FIXED: Support to .NET Core 2.x (Issue #143)
EntityFramework-Plus - v1.6.4

Published by JonathanMagnan over 7 years ago

Download the library here

  • FIXED: Batch Update with multiple join table in sub-select (Issue #176). Only the first alias found are now replaced.
EntityFramework-Plus - v1.6.3

Published by JonathanMagnan over 7 years ago

Download the library here

  • FIXED: EF Core - Audit - Issue in Many to Many when a relation was removed. The EntityState was Modified in the ChangeTracker but finally was removed (Issue #174)
EntityFramework-Plus - v1.6.2

Published by JonathanMagnan over 7 years ago

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");
Related Projects