public DataAdapterFillCallback(DataTable dataTable, CommandType commandType, string sql, ITableMappingCollection mappingCollection, IDataAdapterSetter dataAdapterSetter, IDataSetFillLifecycleProcessor fillLifecycleProcessor, IDbParameters parameters) { containsDataSet = false; this.dataTable = dataTable; this.commandType = commandType; this.sql = sql; this.mappingCollection = mappingCollection; this.dataAdapterSetter = dataAdapterSetter; this.fillLifecycleProcessor = fillLifecycleProcessor; this.parameters = parameters; }
public virtual int DataSetFillWithParameters(DataSet dataSet, CommandType commandType, string sql, IDbParameters parameters, ITableMappingCollection tableMapping, IDataAdapterSetter dataAdapterSetter, IDataSetFillLifecycleProcessor fillLifecycleProcessor) { ValidateFillWithParameterArguments(dataSet, sql, parameters, tableMapping); return (int)Execute(new DataAdapterFillCallback(dataSet, commandType, sql, tableMapping, dataAdapterSetter, fillLifecycleProcessor, parameters)); }
public virtual DataSet DataSetCreateWithParams(CommandType commandType, string sql, IDbParameters parameters, ITableMappingCollection tableMapping, IDataAdapterSetter dataAdapterSetter, IDataSetFillLifecycleProcessor fillLifecycleProcessor) { DataSet dataSet = CreateDataSet(); DataSetFillWithParameters(dataSet, commandType, sql, parameters, tableMapping, dataAdapterSetter, fillLifecycleProcessor); return dataSet; }
public virtual int DataSetFill(DataSet dataSet, CommandType commandType, string sql, ITableMappingCollection tableMapping, IDataAdapterSetter setter, IDataSetFillLifecycleProcessor fillLifecycleProcessor) { ValidateFillArguments(dataSet, sql, tableMapping); return (int)Execute(new DataAdapterFillCallback(dataSet, commandType, sql, tableMapping, setter, fillLifecycleProcessor, null)); }
public virtual DataSet DataSetCreate(CommandType commandType, string sql, ITableMappingCollection tableMapping, IDataAdapterSetter setter, IDataSetFillLifecycleProcessor fillLifecycleProcessor) { DataSet dataSet = CreateDataSet(); DataSetFill(dataSet, commandType, sql, tableMapping, setter, fillLifecycleProcessor); return dataSet; }