/// <summary> /// Constructor that takes a SQLDatabase as argument /// </summary> /// <param name="database"></param> public UserStore(SQLDatabase database) { Database = database; userTable = new UserTable <TUser>(database); roleTable = new RoleTable(database); userRolesTable = new UserRolesTable(database); userClaimsTable = new UserClaimsTable(database); userLoginsTable = new UserLoginsTable(database); }
/// <summary> /// Constructor that takes a SQLDatabase as argument /// </summary> /// <param name="database"></param> public RoleStore(SQLDatabase database) { Database = database; roleTable = new RoleTable(database); }