public virtual dsSecurity.ApplicationRolesDataTable GetDataByUserID(int UserID) { this.Adapter.SelectCommand = this.CommandCollection[2]; this.Adapter.SelectCommand.Parameters[0].Value = ((int)(UserID)); dsSecurity.ApplicationRolesDataTable dataTable = new dsSecurity.ApplicationRolesDataTable(); this.Adapter.Fill(dataTable); return dataTable; }
public virtual dsSecurity.ApplicationRolesDataTable GetData() { this.Adapter.SelectCommand = this.CommandCollection[0]; dsSecurity.ApplicationRolesDataTable dataTable = new dsSecurity.ApplicationRolesDataTable(); this.Adapter.Fill(dataTable); return dataTable; }