public virtual Others.ColumnSetDataTable Get() { this.Adapter.SelectCommand = this.CommandCollection[0]; Others.ColumnSetDataTable dataTable = new Others.ColumnSetDataTable(); this.Adapter.Fill(dataTable); return(dataTable); }
public virtual int Fill(Others.ColumnSetDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if (this.ClearBeforeFill) { dataTable.Clear(); } return(this.Adapter.Fill(dataTable)); }
public virtual Others.ColumnSetDataTable GetID(string ColumnID) { this.Adapter.SelectCommand = this.CommandCollection[2]; if (ColumnID == null) { throw new ArgumentNullException("ColumnID"); } this.Adapter.SelectCommand.Parameters[0].Value = ColumnID; Others.ColumnSetDataTable dataTable = new Others.ColumnSetDataTable(); this.Adapter.Fill(dataTable); return(dataTable); }
public virtual int FillID(Others.ColumnSetDataTable dataTable, string ColumnID) { this.Adapter.SelectCommand = this.CommandCollection[2]; if (ColumnID == null) { throw new ArgumentNullException("ColumnID"); } this.Adapter.SelectCommand.Parameters[0].Value = ColumnID; if (this.ClearBeforeFill) { dataTable.Clear(); } return(this.Adapter.Fill(dataTable)); }