If the entity defines a natural id (HasNaturalIdentifier), which properties make up the natural id.

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

Syntax

C#
int[] NaturalIdentifierProperties { get; }
Visual Basic
ReadOnly Property NaturalIdentifierProperties As Integer()
	Get
Visual C++
property array<int>^ NaturalIdentifierProperties {
	array<int>^ get ();
}

Return Value

The indices of the properties making of the natural id; or null, if no natural id is defined.

See Also