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