Beispiel #1
0
 public static void WriteToServer(this IWrappedCommand cmd, DbContext context, string destinationTable, params string[] fields)
 {
     cmd.UseReader(x => x.WriteToServer(context, destinationTable, fields));
 }
Beispiel #2
0
 public static Task WriteToServerAsync(this IWrappedCommand cmd, DbContext context, string destinationTable, params string[] fields)
 {
     return(cmd.UseReaderAsync(x => x.WriteToServerAsync(context, destinationTable, fields)));
 }
Beispiel #3
0
 public static Task WriteToServerAsync(this IWrappedCommand cmd, DbContext context, string destinationTable, BulkOptions bulkOptions, CancellationToken cancellationToken, params string[] fields)
 {
     return(cmd.UseReaderAsync(x => x.WriteToServerAsync(context, destinationTable, bulkOptions, cancellationToken, fields)));
 }