Share via


EntityContextIdentifier.EntityId Property

Gets or sets the Identifier of the entity the object is associated with.

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

Syntax

'Declaration
<DataMemberAttribute(IsRequired := False, EmitDefaultValue := False)> _
Public Property EntityId As Identifier 
    Get 
    Set
'Usage
Dim instance As EntityContextIdentifier 
Dim value As Identifier 

value = instance.EntityId

instance.EntityId = value
[DataMemberAttribute(IsRequired = false, EmitDefaultValue = false)]
public Identifier EntityId { get; set; }
[DataMemberAttribute(IsRequired = false, EmitDefaultValue = false)]
public:
property Identifier^ EntityId {
    Identifier^ get ();
    void set (Identifier^ value);
}
[<DataMemberAttribute(IsRequired = false, EmitDefaultValue = false)>]
member EntityId : Identifier with get, set
function get EntityId () : Identifier 
function set EntityId (value : Identifier)

Property Value

Type: Microsoft.MasterDataServices.Services.DataContracts.Identifier
The identifier of the entity the object is associated with.

See Also

Reference

EntityContextIdentifier Class

Microsoft.MasterDataServices.Services.DataContracts Namespace