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) Version: 3.2.0.4000 (3.2.0.4000)

Syntax

C#
public abstract bool HasEmbeddedIdentifier { get; set; }
Visual Basic
Public MustOverride Property HasEmbeddedIdentifier As Boolean
	Get
	Set
Visual C++
public:
virtual property bool HasEmbeddedIdentifier {
	bool get () abstract;
	void set (bool value) abstract;
}

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