예제 #1
0
 /// <summary>
 /// Constructor that takes a SQLiteDatabase as argument
 /// </summary>
 /// <param name="database"></param>
 public UserStore(SQLiteDatabase database)
 {
     DisposeContext = false;
     Database       = database;
     userTable      = new UserTable <TUser>(database);
     roleTable      = new RoleTable <TRole>(database);
     userRolesTable = new UserRolesTable(database);
 }
예제 #2
0
 /// <summary>
 /// Constructor that takes a SQLiteDatabase as argument
 /// </summary>
 /// <param name="database"></param>
 public UserStore(SQLiteDatabase database)
 {
     Database        = database;
     userTable       = new UserTable <TUser>(database);
     roleTable       = new RoleTable(database);
     userRolesTable  = new UserRolesTable(database);
     userClaimsTable = new UserClaimsTable(database);
     userLoginsTable = new UserLoginsTable(database);
 }
예제 #3
0
 /// <summary>
 /// Constructor that takes a SQLiteDatabase as argument
 /// </summary>
 /// <param name="database"></param>
 public RoleStore(SQLiteDatabase database)
 {
     Database  = database;
     roleTable = new RoleTable <TRole>(database);
 }
예제 #4
0
 /// <summary>
 /// Constructor that takes a SQLiteDatabase as argument
 /// </summary>
 /// <param name="database"></param>
 public RoleStore(SQLiteDatabase database)
 {
     DisposeContext = false;
     Database       = database;
     roleTable      = new RoleTable <TRole>(database);
 }