0
rajamannar created
ASP.NET Zero uses EFPlus Community version. We want the BulkDelete and other features to extend the IRepository Interface . How can I do it ?
1 Answer(s)
-
0
Currently, the Batach Delete method is provided in AbpEntityFrameworkCoreEfPlusExtensions. If you want to extend it yourself, you can refer to the code of AbpEntityFrameworkCoreEfPlusExtensions.cs.
If you want to integrate EFPlus Enterprise Edition, you can get DbContext in the Repository. Refer to how to use EFPlus: e.g.
// Easy to use context.BulkSynchronize(customers); // Easy to customize context.BulkSynchronize(customers, options => { options.ColumnPrimaryKeyExpression = customer => customer.Code; });