Exemple #1
0
 public RoleStore(IdentityErrorDescriber describer,
                  RolesTable <TKey> rolesTable,
                  RoleClaimsTable <TKey> roleClaimsTable
                  ) : base(describer)
 {
     RolesTable      = rolesTable;
     RoleClaimsTable = roleClaimsTable;
 }
 public RoleStore(IUsersContext context)
 {
     _rolesTable      = new RolesTable(context);
     _roleClaimsTable = new RoleClaimsTable(context);
 }
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="databaseConnectionFactory"></param>
 public RoleStore(IDatabaseConnectionFactory databaseConnectionFactory)
 {
     _rolesTable      = new RolesTable(databaseConnectionFactory);
     _roleClaimsTable = new RoleClaimsTable(databaseConnectionFactory);
 }