Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Users Namespace / UserRepository Class / UpdatePrimaryWishlistId Method
Id of the user for which to set the primary wishlist Id
The wishlist Id to set
In This Topic
    UpdatePrimaryWishlistId Method (UserRepository)
    In This Topic
    Sets the primary wishlist Id of a user
    Syntax
    [Obsolete("PrimaryWishlistId is calculated and does not need to be manually updated.")]
    public void UpdatePrimaryWishlistId( 
       int userId,
       int wishlistId
    )

    Parameters

    userId
    Id of the user for which to set the primary wishlist Id
    wishlistId
    The wishlist Id to set
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also