protected override void Dispose(bool disposing) { if (disposing) { this._cmdText = string.Empty; this._connection = null; } base.Dispose(disposing); }
public ExcelDataAdapter(string selectCommandText, string selectConnectionString) { ExcelConnection connection = new ExcelConnection(selectConnectionString); this._selectCommand = new ExcelCommand(selectCommandText, connection); }
public ExcelDataAdapter(string selectCommandText, ExcelConnection selectConnection) { this._selectCommand = new ExcelCommand(selectCommandText, selectConnection); }
public ExcelCommand(string cmdText, ExcelConnection connection) { this._cmdText = cmdText; this._connection = connection; this._parameters = new ExcelParameterCollection(); }