Evaluate, Compile and Execute C# code at runtime.
- EF Core: https://www.nuget.org/packages/Z.EntityFramework.Extensions.EFCore/
- EF6: https://www.nuget.org/packages/Z.EntityFramework.Extensions/
- EF5: https://www.nuget.org/packages/Z.EntityFramework.Extensions.EF5/
- EF4: https://www.nuget.org/packages/Z.EntityFramework.Extensions.EF4/
// Easy to use
context.BulkInsert(customers);
// Easy to customize
context.BulkInsert(invoices, options => options.IncludeGraph = true);
- Try it (EF Core): https://dotnetfiddle.net/2eVfFT
- Try it (EF 6): https://dotnetfiddle.net/bNektu
// Easy to use
context.BulkMerge(customers);
// Easy to customize
context.BulkMerge(customers, options => options.IncludeGraph = true);
- Try it (EF Core): https://dotnetfiddle.net/v08Jzy
- Try it (EF 6): https://dotnetfiddle.net/Aodij2