/// <summary> /// Constructor that takes a PostgreSQL database instance. /// </summary> /// <param name="database"></param> public UserTable(SqlDatabase database) { _database = database; }
/// <summary> /// Constructor that takes a PostgreSQLDatabase instance. /// </summary> /// <param name="database"></param> public UserClaimsTable(SqlDatabase database) { _database = database; }
/// <summary> /// Constructor that takes a PostgreSQLDatabase as argument. /// </summary> /// <param name="connection"></param> public RoleStore(IDbConnection connection) { _database = new SqlDatabase(connection); _roleTable = new RoleTable(_database); }
/// <summary> /// Constructor that takes a PostgreSQLDatabase instance. /// </summary> /// <param name="database"></param> public RoleTable(SqlDatabase database) { _database = database; }