zzzprojects/EntityFramework-Effort

Batch Update is not working with Effort.EF6

wiertara opened this issue · 2 comments

Description

I'm using Effort.ES6 and Z.EntityFramework.Plus.EF6 libraries but I'm unable to successfully run unit test that checks the status of BatchUpdate action. Unit test is calling a method that runs BatchUpdateExtensions.Update but the DB context (using Effort) doesn't see the changes. I've installed package Z.EntityFramework.Plus.EF6.Effort but with no effects to the result. Should I somehow initialize Effort context to get BatchUpdate features?

My DB context initialization: var context = new CartDbContext(DbConnectionFactory.CreateTransient(), false);

Note: tested method is working fine using Entity Framework but the problem is only in unit test with Effort database.

Further technical details

  • EF version: 6.2.0
  • EF Plus version: 1.12.22
  • Effort.ES6: 2.2.10

Hello @wiertara ,

Thank you for reporting, we will look at it.

Best Regards,

Jon


Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework ExtensionsEntity Framework ClassicBulk OperationsDapper Plus

Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval FunctionSQL Eval Function

Hello @wiertara ,

Sorry for the long delay,

My developer tried it and everything work as expected. He never succeeds to reproduce the issue.

Do you think you could provide us a runnable project with the issue? It will help him to get started and fix the issue asap.