/* * public override int ExecuteArray(IDbCommand command, int iterations) * { * var cmd = (IfxCommand)command; * try * { * cmd.ArrayBindCount = iterations; * return cmd.ExecuteNonQuery(); * } * finally * { * cmd.ArrayBindCount = 0; * } * } */ #region GetDataReader public override IDataReader GetDataReader(Mapping.MappingSchema schema, IDataReader dataReader) { return(dataReader is IfxDataReader? new InformixDataReaderEx((IfxDataReader)dataReader): base.GetDataReader(schema, dataReader)); }
public override IDataReader GetDataReader(Mapping.MappingSchema schema, IDataReader dataReader) { return(dataReader is SqlDataReader? new SqlDataReaderEx((SqlDataReader)dataReader): base.GetDataReader(schema, dataReader)); }