コード例 #1
0
 protected override BulkCopyRowsCopied MultipleRowsCopy <T>(ITable <T> table, BulkCopyOptions options, IEnumerable <T> source)
 {
     if ((options.MaxBatchSize ?? int.MaxValue) > MAX_ALLOWABLE_BATCH_SIZE)
     {
         options.MaxBatchSize = MAX_ALLOWABLE_BATCH_SIZE;
     }
     return(MultipleRowsCopy2(new xDB2iSeriesMultipleRowsHelper <T>(table, options), source, " FROM " + naming.DummyTableWithSchema()));
 }
コード例 #2
0
 public static string SelectIdentityFromDummyTableSql(this DB2iSeriesNamingConvention naming) => $"SELECT {DB2iSeriesConstants.IdentityColumnSql} FROM {naming.DummyTableWithSchema()}";