public virtual EnergyTestingDataSet1.ProjectInfoDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; EnergyTestingDataSet1.ProjectInfoDataTable dataTable = new EnergyTestingDataSet1.ProjectInfoDataTable(); this.Adapter.Fill(dataTable); return(dataTable); }
public virtual int Fill(EnergyTestingDataSet1.ProjectInfoDataTable 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(EnergyTestingDataSet1.ProjectInfoDataTable dataTable) { return(this.Adapter.Update(dataTable)); }