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