public TdsDataAdapter (TdsCommand selectCommand) { DeleteCommand = new TdsCommand (); InsertCommand = new TdsCommand (); SelectCommand = selectCommand; UpdateCommand = new TdsCommand (); }
public TdsCommand CreateCommand() { TdsCommand command = new TdsCommand(); command.Connection = this; return(command); }
public TdsDataAdapter(TdsCommand selectCommand) { DeleteCommand = new TdsCommand(); InsertCommand = new TdsCommand(); SelectCommand = selectCommand; UpdateCommand = new TdsCommand(); }
internal TdsDataReader (TdsCommand command) { this.command = command; schemaTable = ConstructSchemaTable (); resultsRead = 0; fieldCount = 0; isClosed = false; isSelect = (command.CommandText.Trim ().ToUpper ().StartsWith ("SELECT")); command.Tds.RecordsAffected = 0; NextResult (); }
internal TdsDataReader(TdsCommand command) { this.command = command; schemaTable = ConstructSchemaTable(); resultsRead = 0; fieldCount = 0; isClosed = false; isSelect = (command.CommandText.Trim().ToUpper().StartsWith("SELECT")); command.Tds.RecordsAffected = 0; NextResult(); }
public TdsCommand CreateCommand () { TdsCommand command = new TdsCommand (); command.Connection = this; return command; }
internal TdsParameterCollection(TdsCommand command) { this.command = command; metaParameters = new TdsMetaParameterCollection(); }
internal TdsParameterCollection (TdsCommand command) { this.command = command; metaParameters = new TdsMetaParameterCollection (); }