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