Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.DomainModel Namespace / NHibernateHelper Class / CreateCriteria Method / CreateCriteria<TEntityType>(String) Method
The entity type to create a criteria for
Alias for the entity
In This Topic
    CreateCriteria<TEntityType>(String) Method
    In This Topic
    Creates an NHibernate Criteria object
    Syntax
    public static NHibernate.ICriteria CreateCriteria<TEntityType>( 
       string aliasName
    )
    where TEntityType: class

    Parameters

    aliasName
    Alias for the entity

    Type Parameters

    TEntityType
    The entity type to create a criteria for

    Return Value

    An NHibernate criteria object
    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