示例#1
0
 private void FillRolesList()
 {
     using (MembershipDBEntities context = new MembershipDBEntities())
     {
         this.roles = context.aspnet_Roles.OrderBy(x => x.RoleName).ToList();
     }
 }
示例#2
0
 private void FillUsersList()
 {
     using (MembershipDBEntities context = new MembershipDBEntities())
     {
         this.users = context.aspnet_Users.OrderBy(x => x.UserName).ToList();
     }
 }