Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Extensions Namespace / SessionExtension Class / HasOpenTransaction Method
The session instance
In This Topic
    HasOpenTransaction Method (SessionExtension)
    In This Topic
    Determines if a session has an open transaction
    Syntax
    [Extension()]
    public static bool HasOpenTransaction( 
       NHibernate.ISession session
    )

    Parameters

    session
    The session instance

    Return Value

    True if the session has an open transaction, 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