Share via


EntityContextIdentifier Class

Defines the data contract for the entity context identifier. An object with the identifier resides within the context of an entity.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
    Microsoft.MasterDataServices.Services.DataContracts.Identifier
      Microsoft.MasterDataServices.Services.DataContracts.ModelContextIdentifier
        Microsoft.MasterDataServices.Services.DataContracts.EntityContextIdentifier
          Microsoft.MasterDataServices.Services.DataContracts.MemberTypeContextIdentifier

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

Syntax

'Declaration
<SerializableAttribute> _
<DataContractAttribute(Name := "EntityContextIdentifier", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public Class EntityContextIdentifier _
    Inherits ModelContextIdentifier
'Usage
Dim instance As EntityContextIdentifier
[SerializableAttribute]
[DataContractAttribute(Name = "EntityContextIdentifier", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class EntityContextIdentifier : ModelContextIdentifier
[SerializableAttribute]
[DataContractAttribute(Name = L"EntityContextIdentifier", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class EntityContextIdentifier : public ModelContextIdentifier
[<SerializableAttribute>]
[<DataContractAttribute(Name = "EntityContextIdentifier", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type EntityContextIdentifier =  
    class 
        inherit ModelContextIdentifier 
    end
public class EntityContextIdentifier extends ModelContextIdentifier

The EntityContextIdentifier type exposes the following members.

Constructors

  Name Description
Public method EntityContextIdentifier Initializes a new instance of the EntityContextIdentifier class.

Top

Properties

  Name Description
Public property EntityId Gets or sets the Identifier of the entity the object is associated with.
Public property Id Gets or sets a Globally Unique Identifier (GUID) that uniquely identifies the object across all instances and contexts. (Inherited from Identifier.)
Public property InternalId Gets or sets the internal integer identifier that uniquely identifies an object within a Master Data Services instance. (Inherited from Identifier.)
Public property IsBlank Gets a value that indicates whether all the properties of the identifier are blank. (Overrides ModelContextIdentifier.IsBlank.)
Public property IsIdBlank Gets a value that indicates whether the identifier is blank (empty). (Inherited from Identifier.)
Public property ModelId Gets or sets the identifier of the model the object is associated with. (Inherited from ModelContextIdentifier.)
Public property Name Gets or sets the descriptive name of the identifier. (Inherited from Identifier.)

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetProperty<T> Infrastructure. Sets the property using the specified values. (Inherited from DataContractBase.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.MasterDataServices.Services.DataContracts Namespace