public DatabaseBatchWriter(SqlCommand command, ISqlDataRecordMapper sqlDataRecordMapper, string tvpParameterName, bool disposeConnection = true) { this.command = command; this.sqlDataRecordMapper = sqlDataRecordMapper; this.tvpParameterName = tvpParameterName; this.disposeConnection = disposeConnection; }
public SqlDataRecordEnumerator(ISqlDataRecordMapper sqlDataRecordMapper, CancellationToken cancellationToken) { this.sqlDataRecordMapper = sqlDataRecordMapper; this.cancellationToken = cancellationToken; }