Пример #1
0
 public DatabaseBatchWriter(SqlCommand command, ISqlDataRecordMapper sqlDataRecordMapper, string tvpParameterName, bool disposeConnection = true)
 {
     this.command             = command;
     this.sqlDataRecordMapper = sqlDataRecordMapper;
     this.tvpParameterName    = tvpParameterName;
     this.disposeConnection   = disposeConnection;
 }
Пример #2
0
 public SqlDataRecordEnumerator(ISqlDataRecordMapper sqlDataRecordMapper, CancellationToken cancellationToken)
 {
     this.sqlDataRecordMapper = sqlDataRecordMapper;
     this.cancellationToken   = cancellationToken;
 }