EntityFramework-Plus icon indicating copy to clipboard operation
EntityFramework-Plus copied to clipboard

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

Results 129 EntityFramework-Plus issues
Sort by recently updated
recently updated
newest added

In efcore, I use Z.EntityFramework.Plus.EFCore.dll in myproject, When I use “Db.Set().Where(st=>st.Id==1).Update(student=>new Student() { Name= tempName});” it give me a error;description:MySqlException: Duplicate column name 'Id'; I keep watch on Mysql,it produce...

I think BatchInsert implementation is like BatchUpdate implementation but is little easy. ``` // Copy OrderItems from fromOrder to toOrder var items = fromOrder.Items(); items.BatchInsert(i => new OrderItem { OrderId...

Similar to BatchUpdate, with little modification, can you please provide support for BatchInsert for following example. var emails = db.Emails.AsQueryable(); db.Contacts .Where( x => x.Active && ! emails.Any( er =>...

2 tables in the same schema MySchema.A MySchema.A.B When writing to MySchema.A.B the bulk operations actually tries to write to MySchema.A and reports property does not exist. Replacing the '.'...

The following code generates a `NullReferenceException` in `BatchUpdate.ResolveUpdateFromQueryDictValues()`, changing `string.Empty` to `""` fixes it. ```c# await _db.cart .Where(x => x.cookie_guid == sessionId) .UpdateAsync(x => new cart() { email_temp = paymentInfo.EmailTemp...

Hello, I've coded support for batch updates and deletes for SAP Hana but since there's no write access to create a new branch hence a new pull request I am...

I was wondering if the new EF Core 2.1 [Query Types](https://docs.microsoft.com/en-us/ef/core/modeling/query-types) feature is supported. I tried to this: ``` public partial class MyContext { public void SetFilters(long tenantId) { this.Filter(q...

When I run same repository code with EF Core InMemory provider I got follow exception: Z.EntityFramework.Plus.QueryCache.EFCore.dll but was not handled in user code Additional information: Unable to cast object of...

We are using the context filters (i.e. .`Filter()`) with EF6.2. We have noticed we regularly get to a point where our server throws an out of memory exception due to...

**I'm using EF6** The next code is from my generic repository This is currently working with the normal Include from entity framework but when I use ` query.IncludeOptimized(includeProperty).` this just...