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