Share via


ModelContextIdentifier Class

Represents a set of IDs for a master data model object that exists in the context of a model. This type includes identifiers for the context of the object: the parent model. Examples of objects that have a model context are entities, versions, version flags and derived hierarchies.

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

Syntax

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

The ModelContextIdentifier type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Id Gets or sets a GUID that uniquely identifies the object across all instances and contexts. (Inherited from Identifier.)
Public property InternalId Gets or sets an integer ID that uniquely identifies an object within an MDS instance. (Inherited from Identifier.)
Public property IsBlank Gets a value indicating whether the identifier is blank. (Overrides Identifier.IsBlank.)
Public property IsIdBlank Gets a value indicating whether the Id is blank (empty). (Inherited from Identifier.)
Public property Name Gets or sets a descriptive name that uniquely identifies the object within its context only. (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.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Public field ModelId The identifier of the parent entity of the 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.