When implemented by a class, gets or sets a boolean indicating if the identifier is embedded in the class.

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

Syntax

Visual Basic (Declaration)
Public MustOverride Property HasEmbeddedIdentifier As Boolean
C#
public abstract bool HasEmbeddedIdentifier { get; set; }
Visual C++
public:
virtual property bool HasEmbeddedIdentifier {
	bool get () abstract;
	void set (bool value) abstract;
}
JavaScript
function get_hasEmbeddedIdentifier();
function set_hasEmbeddedIdentifier(value);

Field Value

trueTruetruetrue (True in Visual Basic) if the class identifies itself.

Remarks

An embedded identifier is true when using a composite-id specifying properties of the class as the key-property instead of using a class as the composite-id.

See Also