public UserLoginTable GetUserLoginTable()
 {
     if (userLoginTable == null)
     {
         userLoginTable = new UserLoginTable(connStringName);
     }
     return(userLoginTable);
 }
        /// <summary>
        /// Constructor that takes a dbmanager as argument
        /// </summary>
        /// <param name="database"></param>
        public UserStore(DbManager database)
        {
            Database = database;

            userTable       = database.GetUserTable <TUser>();
            roleTable       = database.GetRoleTable();
            userRolesTable  = database.GetUserRoleTable();
            userClaimsTable = database.GetUserClaimTable();
            userLoginsTable = database.GetUserLoginTable();
        }