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