public UserRoleTable GetUserRoleTable() { if (userRoleTable == null) { userRoleTable = new UserRoleTable(connStringName); } return(userRoleTable); }
/// <summary> /// Constructor that takes a dbmanager as argument /// </summary> /// <param name="database"></param> public UserStore(DbManager database) { Database = database; userTable = database.GetUserTable <TUser>(); roleTable = database.GetRoleTable(); userRolesTable = database.GetUserRoleTable(); userClaimsTable = database.GetUserClaimTable(); userLoginsTable = database.GetUserLoginTable(); }