Initializes a new instance of the StaleObjectStateException class.

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

Syntax

Visual Basic (Declaration)
Public Sub New ( _
	persistentType As Type, _
	identifier As Object _
)
C#
public StaleObjectStateException(
	Type persistentType,
	Object identifier
)
Visual C++
public:
StaleObjectStateException(
	Type^ persistentType, 
	Object^ identifier
)
JavaScript
NHibernate.StaleObjectStateException = function(persistentType, identifier);

Parameters

persistentType
Type: System..::.Type
The Type that NHibernate was trying to update in the database.
identifier
Type: System..::.Object
The identifier of the object that is stale.

See Also