EntityInstanceReference.Identity Property

Gets the identity of the referenced External Item.

Namespace:  Microsoft.BusinessData.Runtime
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Public ReadOnly Property Identity As Identity
    Get
'Usage
Dim instance As EntityInstanceReference
Dim value As Identity

value = instance.Identity
public Identity Identity { get; }

Property Value

Type: Microsoft.BusinessData.Runtime.Identity
The identity of the external content type.

Remarks

Identity only contains the list of identifiers (for example "Seattle", "WA") but does not contain any information about the Entity these identifiers belong to. The EntityInstanceReference contains an identity along with information about the Entity. The following examples illustrate this.

Example 1: With an Identity that contains ["Seattle", "WA"] as identifiers, and an Entity that is equal to “City”, the EntityInstanceReference is [["Seattle", "WA"], ["City"]].

Example 2: With an Identity that contains ["Seattle", "WA"] as identifiers, and an Entity that is equal to “Address”, the EntityInstanceReference is [["Seattle", "WA"], ["Address"]].

In the previous two examples, the identities are the same but the entity instance references are different because they are based on the identities combined with the entity.

See Also

Reference

EntityInstanceReference Class

EntityInstanceReference Members

Microsoft.BusinessData.Runtime Namespace