public static void BulkInsert(this DbContext context, DataTable dt, int batchSize = DefaultBatchSize)
 {
     var provider = new BulkOperationProvider(context);
     provider.Insert(dt, batchSize);
 }
Exemple #2
0
        public static void BulkInsert(this DbContext context, DataTable dt, int batchSize = DefaultBatchSize)
        {
            var provider = new BulkOperationProvider(context);

            provider.Insert(dt, batchSize);
        }