コード例 #1
0
 /// <summary>
 /// Constructor that takes a MySQLDatabase as argument
 /// </summary>
 /// <param name="database"></param>
 public UserStore(IdentityDbContextDapper database)
 {
     Database        = database;
     userTable       = new UserTable <TUser>(database);
     roleTable       = new RoleTable(database);
     userRolesTable  = new UserRolesTable(database);
     userClaimsTable = new UserClaimsTable(database);
     userLoginsTable = new UserLoginsTable(database);
 }
コード例 #2
0
 /// <summary>
 /// Constructor that takes a MySQLDatabase instance
 /// </summary>
 /// <param name="database"></param>
 public UserRolesTable(IdentityDbContextDapper database)
 {
     _database = database;
 }
コード例 #3
0
 /// <summary>
 /// Constructor that takes a MySQLDatabase as argument
 /// </summary>
 /// <param name="database"></param>
 public RoleStore(IdentityDbContextDapper database)
 {
     Database  = database;
     roleTable = new RoleTable(database);
 }
コード例 #4
0
 /// <summary>
 /// Constructor that takes a MySQLDatabase instance
 /// </summary>
 /// <param name="database"></param>
 public RoleTable(IdentityDbContextDapper database)
 {
     _database = database;
 }