public override void UpdateStatus() { Role_Property objRoleSetupPropertyNew = new Role_Property(); objRoleSetupPropertyNew.Id = base.Id; objRoleSetupPropertyNew.Status = base.Status; objRoleSetupPropertyNew.TableName = objRoleProperty.TableName; objRoleSetupPropertyNew.Operated_By = objRoleProperty.Operated_By; objRoleDAL = new Role_DAL(objRoleSetupPropertyNew); objRoleDAL.UpdateStatus(); }
public void Fill() { DataTable dataTable = Role_DAL.GetDataTable(); Role role = new Role(); DataRow dataRow; for (int i = 0; i < dataTable.Rows.Count; i++) { dataRow = dataTable.Rows[i]; role = new Role(dataRow); this.Add(role); } }
public DataTable SelectAll() { objRoleDAL = new Role_DAL(objRoleProp); return(objRoleDAL.SelectAll()); }
public bool ValidateUserPage(string url) { objRoleDAL = new Role_DAL(objRoleProperty); return(objRoleDAL.ValidateUserPage(url)); }
public DataTable GetRolesByUser() { objRoleDAL = new Role_DAL(objRoleProperty); return(objRoleDAL.GetRolesByUser()); }
public DataTable ViewAll() { objRoleDAL = new Role_DAL(objRoleProperty); return(objRoleDAL.SelectAll()); }
public void Add() { objRoleDAL = new Role_DAL(objRoleProperty); objRoleDAL.Insert(); }