示例#1
0
 /// <summary>
 /// Constructor that takes a PostgreSQL database instance.
 /// </summary>
 /// <param name="database"></param>
 public UserTable(SqlDatabase database)
 {
     _database = database;
 }
示例#2
0
 /// <summary>
 /// Constructor that takes a PostgreSQLDatabase instance.
 /// </summary>
 /// <param name="database"></param>
 public UserClaimsTable(SqlDatabase database)
 {
     _database = database;
 }
示例#3
0
 /// <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);
 }
示例#4
0
 /// <summary>
 /// Constructor that takes a PostgreSQLDatabase instance.
 /// </summary>
 /// <param name="database"></param>
 public RoleTable(SqlDatabase database)
 {
     _database = database;
 }