Example #1
0
 public DataCommand(IDbCommand dbCommand, DataSource ds)
 {
     _dbCommand = dbCommand;
     _dataSource = ds;
     _parameters = new DataParameterCollection(dbCommand, ds.Provider.ParameterDbType,
         ds.Provider.ParameterDbTypeProperty, ds.ParameterNamePrefix);
 }
Example #2
0
        internal DataCommand(string commandName, IDbCommand dbCommand, DataSource ds, 
			IDictionary parameterKeyNames,
			IList replaceByParams)
            : this(commandName, dbCommand, ds)
        {
            _parameters.ParameterKeyNames = parameterKeyNames;

            _replaceByParams = replaceByParams;
        }
Example #3
0
        public DataSetAdapter(
			string adapterName, 
			IDbDataAdapter dbDataAdapter,
			DataSource dataSource,
			IDataCommand selectCommand,
			IDataCommand updateCommand,
			IDataCommand insertCommand,
			IDataCommand deleteCommand)
            : this(adapterName, dataSource)
        {
            _dbDataAdapter = dbDataAdapter;
            _selectCommand = selectCommand;
            _updateCommand = updateCommand;
            _insertCommand = insertCommand;
            _deleteCommand = deleteCommand;
        }
Example #4
0
 public DataCommand(string commandName, IDbCommand dbCommand, DataSource ds)
     : this(dbCommand, ds)
 {
     _commandName = commandName;
 }
Example #5
0
 public DataSetAdapter(string adapterName, IDbDataAdapter dbDataAdapter, DataSource dataSource)
     : this(adapterName, dataSource)
 {
     _dbDataAdapter = dbDataAdapter;
 }
Example #6
0
 public DataSetAdapter(IDbDataAdapter dbDataAdapter, DataSource dataSource)
 {
     _dbDataAdapter = dbDataAdapter;
     _dataSource = dataSource;
 }
Example #7
0
 public DataSetAdapter(string adapterName, DataSource dataSource)
 {
     _name = adapterName;
     _dataSource = dataSource;
 }