public virtual unitsDataset.UnitsDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; unitsDataset.UnitsDataTable dataTable = new unitsDataset.UnitsDataTable(); this.Adapter.Fill(dataTable); return(dataTable); }
public virtual int Fill(unitsDataset.UnitsDataTable dataTable) { this.Adapter.SelectCommand = this.CommandCollection[0]; if ((this.ClearBeforeFill == true)) { dataTable.Clear(); } int returnValue = this.Adapter.Fill(dataTable); return(returnValue); }
public virtual unitsDataset.UnitsDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; unitsDataset.UnitsDataTable dataTable = new unitsDataset.UnitsDataTable(); this.Adapter.Fill(dataTable); return dataTable; }