Beispiel #1
0
 public UserStore(DataProvider database)
 {
     Database        = database;
     userTable       = new UserTable <TUser>(database);
     roleTable       = new RoleTable <TRole>(database);
     userRolesTable  = new UserRolesTable <TUser>(database);
     userClaimsTable = new UserClaimsTable <TUser>(database);
     userLoginsTable = new UserLoginsTable <TUser>(database);
 }
 public RoleStore(DataProvider database)
 {
     roleTable = new RoleTable <TRole>(database);
     Database  = database;
 }