Thrown when the user passes a persistent instance to a ISession method that expects a transient instance

Namespace: NHibernate
Assembly:   NHibernate (in NHibernate)
Version: 1.2.0.4000

Syntax

Visual Basic (Declaration)
<SerializableAttribute> _
Public Class PersistentObjectException _
	Inherits HibernateException
C#
[SerializableAttribute]
public class PersistentObjectException : HibernateException
Visual C++
[SerializableAttribute]
public ref class PersistentObjectException : public HibernateException

Inheritance Hierarchy

System.Object
  System.Exception
    System.ApplicationException
      NHibernate.HibernateException
        NHibernate.PersistentObjectException