Does this ISession contain any changes which must be synchronized with the database? Would any SQL be executed if we flushed this session?

Namespace:  NHibernate
Assembly:  NHibernate (in NHibernate.dll)

Syntax

Visual Basic (Declaration)
Function IsDirty As Boolean
C#
bool IsDirty()
Visual C++
bool IsDirty()
JavaScript
function isDirty();

See Also