A problem occurred trying to lazily initialize a collection or proxy (for example the session was closed) or iterate query results.

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

Syntax

C#
[SerializableAttribute]
public class LazyInitializationException : HibernateException
Visual Basic
<SerializableAttribute> _
Public Class LazyInitializationException _
	Inherits HibernateException
Visual C++
[SerializableAttribute]
public ref class LazyInitializationException : public HibernateException

Inheritance Hierarchy

System..::..Object
  System..::..Exception
    System..::..ApplicationException
      NHibernate..::..HibernateException
        NHibernate..::..LazyInitializationException

See Also