Beispiel #1
0
 /// <summary>
 /// Default constructor
 /// </summary>
 public UserStore()
 {
     userTable       = new UserTable <TUser>();
     roleTable       = new RoleTable();
     userRolesTable  = new UserRolesTable();
     userClaimsTable = new UserClaimsTable();
     userLoginsTable = new UserLoginsTable();
 }
Beispiel #2
0
        /// <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);
        }