Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Extensions Namespace / SessionExtension Class / GetOriginalEntityProperty Method
The session instance.
The entity to get the value for.
The property to get the value for.
In This Topic
    GetOriginalEntityProperty Method
    In This Topic
    Gets the original value of an entity property before it was modified in memory.
    Syntax
    [Extension()]
    public static object GetOriginalEntityProperty( 
       NHibernate.ISession session,
       object entity,
       string propertyName
    )

    Parameters

    session
    The session instance.
    entity
    The entity to get the value for.
    propertyName
    The property to get the value for.

    Return Value

    The value of the entity property before it was modified in memory.
    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