Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Extensions Namespace / SessionExtension Class / IsDirtyProperty Method
The session instance.
The entity to check for dirty state.
The property to check for dirty state.
In This Topic
    IsDirtyProperty Method
    In This Topic
    Determines if a property is in a dirty state and requires a database update.
    Syntax
    [Extension()]
    public static bool IsDirtyProperty( 
       NHibernate.ISession session,
       object entity,
       string propertyName
    )

    Parameters

    session
    The session instance.
    entity
    The entity to check for dirty state.
    propertyName
    The property to check for dirty state.

    Return Value

    True of the property is dirty, false otherwise.
    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