Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.DomainModel Namespace / RepositoryWithTypedId<TEntity,TId> Class / Load Method
Primary key value
In This Topic
    Load Method (RepositoryWithTypedId<TEntity,TId>)
    In This Topic
    Load item given the primary key
    Syntax
    public virtual TEntity Load( 
       TId id
    )

    Parameters

    id
    Primary key value

    Return Value

    The item instance, or null if item isn't found
    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