Thrown when the user passes a persistent instance to a ISession method that expects a
transient instance
Namespace:
NHibernateAssembly: NHibernate (in NHibernate.dll)
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 |
JavaScript |
---|
NHibernate.PersistentObjectException = function(); Type.createClass( 'NHibernate.PersistentObjectException', NHibernate.HibernateException); |
Inheritance Hierarchy
System..::.Object
System..::.Exception
System..::.ApplicationException
NHibernate..::.HibernateException
NHibernate..::.PersistentObjectException
System..::.Exception
System..::.ApplicationException
NHibernate..::.HibernateException
NHibernate..::.PersistentObjectException