/// <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); }
public UserStore(DbConnection database) { Database = database; userTable = new UserTable <TUser>(database); roleTable = new RoleTable <TRole>(database); userRolesTable = new UserRolesTable <TUser>(database); userClaimsTable = new UserClaimsTable <TUser>(database); userLoginsTable = new UserLoginsTable <TUser>(database); }
/// <summary> /// Constructor that takes a dbmanager as argument /// </summary> /// <param name="database"></param> public UserStore(DbManager 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 MySQLDatabase as argument /// </summary> /// <param name="database"></param> public RoleStore(IdentityDbContextDapper database) { Database = database; roleTable = new RoleTable(database); }
/// <summary> /// Constructor that takes a dbmanager as argument /// </summary> /// <param name="database"></param> public RoleStore(DbManager database) { Database = database; roleTable = new RoleTable(database); }
public RoleStore(DbConnection database) { roleTable = new RoleTable <TRole>(database); Database = database; }