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