/// <summary> /// Default constructor /// </summary> public UserStore() { userTable = new UserTable <TUser>(); roleTable = new RoleTable(); userRolesTable = new UserRolesTable(); userClaimsTable = new UserClaimsTable(); userLoginsTable = new UserLoginsTable(); }
/// <summary> /// Constructor /// </summary> /// <param name="database"></param> public UserStore(string connectionName) { _connectionName = connectionName; userTable = new UserTable <TUser>(_connectionName); roleTable = new RoleTable(_connectionName); userRolesTable = new UserRolesTable(_connectionName); userClaimsTable = new UserClaimsTable(_connectionName); userLoginsTable = new UserLoginsTable(_connectionName); }