Exemplo n.º 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);
 }
Exemplo n.º 2
0
 public RoleStore(DataProvider database)
 {
     roleTable = new RoleTable <TRole>(database);
     Database  = database;
 }