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