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

    Parameters

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

    Return Value

    True of the entity 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