Determine whether detahced instances of this entity carry their own identifier value.

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

Syntax

C#
bool CanExtractIdOutOfEntity { get; }
Visual Basic
ReadOnly Property CanExtractIdOutOfEntity As Boolean
	Get
Visual C++
property bool CanExtractIdOutOfEntity {
	bool get ();
}

Return Value

True if either (1) HasIdentifierProperty or (2) the identifier is an embedded composite identifier; false otherwise.

Remarks

The other option is the deprecated feature where users could supply the id during session calls.

See Also