예제 #1
0
 public RoleModel(Mysql mysqlConnection)
 {
     roleFunctions = new RoleDBFunctions(mysqlConnection);
         currentRole = null;
     LoadRoleList();
 }
예제 #2
0
 public void LoadRole(int roleID, string roleName)
 {
     currentRole = new Role();
     currentRole.id = roleID;
     currentRole.name = roleName;
     LoadPermissionsOfRole();
 }
예제 #3
0
 public void UnsetRole()
 {
     currentRole = null;
 }