Initializes a new instance of the NonUniqueObjectException class.

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

Syntax

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

Parameters

id
Type: System..::..Object
The identifier of the object that caused the exception.
entityName
Type: System..::..String
The EntityName of the object attempted to be loaded.

See Also