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 visible (Hide)

EntityFramework-Plus - v1.4.11

Published by zzzprojects almost 8 years ago

Download the library here

Query Include Filter

  • FIXED: Lazy Loading error for Relation without navigation property

Query Include Optimized

  • FIXED: Lazy Loading error for Relation without navigation property
  • FIXED: AddOrAppendOrderBy with query using Select or SelectMany methods
EntityFramework-Plus - v1.4.10

Published by zzzprojects almost 8 years ago

Download the library here

EF Core

  • ADDED: Compatibility with Microsoft.EntityFrameworkCore.SqlServer 1.1.0-preview1-final

Audit

  • ADDED: Display Data Annotation
  • ADDED: Exclude Data Annotation
  • ADDED: Include Data Annotation

Query Filter - EF6

  • FIXED: Concurrency issue with context filter

Query Filter - EF Core

  • ADDED: ForceCast options to overcome partially EF Core cast limitation

Query Include Filter

  • ADDED: Null collection are now empty (like EF Include)
  • FIXED: Lazy Loading navigation path are now "loaded"

Query Include Optimized

  • FIXED: Lazy Loading navigation path are now "loaded"

AddOrAppendOrderBy

  • FIXED: Fixed issue if root is a DbQuery

AddOrAppendOrderDescendingBy

  • FIXED: Fixed issue if root is a DbQuery
  • FIXED: two overload was used OrderBy instead of OrderDescendingBy
EntityFramework-Plus - v1.4.9

Published by zzzprojects almost 8 years ago

Download the library here

_EF+ Audit

  • FIXED: Added missing property for the Configuration Clone method
EntityFramework-Plus - v1.4.8

Published by zzzprojects about 8 years ago

Download the library here

_EF+ Audit

  • ADDED: UseNullForDBNullValue: Allow to set in AuditEntryProperty null instead of DBNull.Value (true by default)
  • FIXED: Issue with null value stored as empty string

_EF+ Query Filter

  • FIXED: Issue with Query Filter when variable was user instead of constant value
EntityFramework-Plus - v1.4.7

Published by zzzprojects about 8 years ago

Download the library here

EF+ Query Cache

  • FIXED: Issue with UseFirstTagAsCacheKey && UseTagsAsCacheKey when using with IncludeFilter or IncludeOptimized
EntityFramework-Plus - v1.4.6

Published by zzzprojects about 8 years ago

Download the library here

EF+ Query Cache

  • ADDED: QueryCacheManager.UseTagsAsCacheKey property
  • RENAMED: QueryCacheManager.ForceFirstTagAsCacheKey to QueryCacheManager.UseFirstTagAsCacheKey
EntityFramework-Plus - v1.4.5

Published by zzzprojects about 8 years ago

Download the library here

EF+ Query Cache

  • ADDED: QueryCacheManager.CacheKeyFactory property
  • ADDED: QueryCacheManager.ForceFirstTagAsCacheKey property
EntityFramework-Plus - v1.4.4

Published by zzzprojects about 8 years ago

Download the library here

EF+ Audit

  • FXED: Issue for retrieving audit with inheritance (TPC, TPH, and TPT)

EF+ Batch Delete

  • FIXED: Issue with query with OrderBy
  • FIXED: Issue with query with Take && Skip

EF+ Batch Update

  • FIXED: Issue with query with OrderBy
  • FIXED: Issue when contacting string with the keyword "from"

EF+ Query Cache

  • ADDED: Support to Query IncludeFilter (Full version only)
  • ADDED: Support to Query IncludeOptimized (Full version only)
  • ADDED: CacheItemPolicyFactory to allow to set Absolute Time

EF+ Query IncludeOptimized

  • FIXED: Issue with ICollection<> and IList<> for creating empty collection
EntityFramework-Plus - v1.4.3

Published by zzzprojects about 8 years ago

Download the library here

_EF+ Query Cache

  • ADDED: ExpireAll() method for EF5 && EF6
  • FIXED: Cache tags was not working properly
EntityFramework-Plus - v1.4.2

Published by zzzprojects about 8 years ago

Download the library here

_EF+ Query IncludeOptimized

  • ADDED: IncludeOptimizedByPath to allow to specify a string path
  • FIXED: Collection now return empty collection instead of null when no data is found (like Include method)

The AllowIncludeSubPath is currently in beta

QueryIncludeOptimizedManager.AllowIncludeSubPath = true;

Enabling this property allow to automatically include nested collection

By example

ctx.Lefts
    .IncludeOptimized(x => x.Rights.SelectMany(y => y.Rights));

will be transformed into

ctx.Lefts
    .IncludeOptimized(x => x.Rights);
    .IncludeOptimized(x => x.Rights.SelectMany(y => y.Rights));
EntityFramework-Plus - v1.4.1

Published by zzzprojects about 8 years ago

Download the library here

_EF+ Query Cache

  • FIXED: null value with FirstOrDefault (MemoryCache do not support null value!
EntityFramework-Plus - v1.4.0

Published by zzzprojects about 8 years ago

Download the library here

EF+ Audit

  • ADDED: Default value for CreatedBy field
  • ADDED: AuditEntryFactory && AuditEntryPropertyFactory for better customization

EF+ Query Filter (EF6)

  • MAJOR REVAMP: All the code has been re-writing to use instead interceptor
    • FIXED: Include method now filtered
    • FIXED: Lazy loading now filtered
EntityFramework-Plus - v1.3.12

Published by zzzprojects about 8 years ago

Download the library here

EF+ Batch Delete

  • FIXED: Where clause with constant false && folding constant to false (Harcoded issue from v1.3.9)

EF+ Batch Update

  • FIXED: Where clause with constant false && folding constant to false (Harcoded issue from v1.3.9)
EntityFramework-Plus - v1.3.11

Published by zzzprojects about 8 years ago

Download the library here

_EF+ Audit

  • ADDED: Where clause to retrieve more easily audit
using (var ctx = new TestContext())
{
    ctx.AuditEntries.Where(item);
    ctx.AuditEntries.Where<Entity_Basic>(item.ID);
    ctx.AuditEntries.Where<Entity_Basic>(101);
}
EntityFramework-Plus - v1.3.10

Published by zzzprojects about 8 years ago

Download the library here

EF+ Batch Delete

  • ADDED: Support for MySQL for EF5 && EF6

EF+ Batch Update

  • ADDED: Support for MySQL for EF5 && EF6
EntityFramework-Plus - v1.3.9

Published by zzzprojects about 8 years ago

Download the library here

EF+ Batch Delete

  • FIXED: Where clause with constant false && folding constant to false

EF+ Batch Update

  • FIXED: Where clause with constant false && folding constant to false
EntityFramework-Plus - v1.3.8

Published by zzzprojects about 8 years ago

Download the library here

_EF+ Query Cache

  • FIXED: Added expression for .NET Core to make the key more unique. The SQL generated by EF Core is not unique like EF5 and EF6 do since more than one query is executed.
EntityFramework-Plus - v1.3.7

Published by zzzprojects about 8 years ago

Download the library here

EF+ Batch Delete

  • FIXED: Under .NET Core NET Standard 1.3, The code was trying to load the wrong assembly (from RC2)

EF+ Batch Update

  • FIXED: Under .NET Core NET Standard 1.3, The code was trying to load the wrong assembly (from RC2)
EntityFramework-Plus - v1.3.6

Published by zzzprojects about 8 years ago

Download the library here

EF+ Batch Delete

  • FIXED: GetModelName method for Database First

EF+ Batch Update

  • FIXED: GetModelName method for Database First
EntityFramework-Plus - v1.3.5

Published by zzzprojects about 8 years ago

Download the library here

EF+ Query Cache

  • ADDED: Property IncludeConnectionInCacheKey
  • FIXED: Server && Database name are directly taken from the connection in case ChangeDatabase method is invoked.
Related Projects