示例#1
0
 public static IEFBatchOperationBase <T> For <TContext, T>(TContext context, IDbSet <T> set)
     where TContext : DbContext
     where T : class
 {
     return(EFBatchOperation <TContext, T> .For(context, set));
 }
示例#2
0
 public static IEFBatchOperationBase <TContext, T> For <TContext, T>(TContext context, IDbSet <T> set, IConfiguration config = null)
     where TContext : DbContext
     where T : class
 {
     return(EFBatchOperation <TContext, T> .For(context, set, config ?? Configuration.Default));
 }