/// <summary> /// Constructor that takes a MySQLDatabase instance /// </summary> /// <param name="database"></param> public UserRolesTableRepository(MySQLDatabase database) { _database = database; //_database.Set(typeof(UserRolesTable)); this.dbSet = database.Set<UserRolesTable>(); this.dbSetRoles = database.Set<IdentityRole>(); }
/// <summary> /// Constructor that takes a MySQLDatabase instance /// </summary> /// <param name="database"></param> public UserLoginsTableRepository(MySQLDatabase database) { _database = database; this.dbSet = database.Set<UserLoginTable>(); }
/// <summary> /// Constructor that takes a MySQLDatabase instance /// </summary> /// <param name="database"></param> public UserClaimsTableRepository(MySQLDatabase database) { _database = database; this.dbSet = database.Set<UserClaims>(); }