Initializes a new instance of the StaleObjectStateException class.

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

Syntax

C#
public StaleObjectStateException(
	string entityName,
	Object identifier
)
Visual Basic
Public Sub New ( _
	entityName As String, _
	identifier As Object _
)
Visual C++
public:
StaleObjectStateException(
	String^ entityName, 
	Object^ identifier
)

Parameters

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

See Also