Пример #1
0
 public BulkCopy(SqlConnection connection, SqlTransaction transaction, BulkOptions bulkOptions, string destinationTable, IDataReader reader, params string[] fields)
 {
     this.connection = connection;
     this.transaction = transaction;
     this.bulkOptions = bulkOptions;
     this.destinationTable = destinationTable;
     this.reader = reader;
     this.fields = fields;
 }
Пример #2
0
 public ImportOptions(QueryOptions queryOptions, BulkOptions bulkOptions = null)
 {
     this.QueryOptions = queryOptions == null ? new QueryOptions() : queryOptions;
     this.BulkOptions = bulkOptions == null ? new BulkOptions() : bulkOptions;
 }