Share via


Entity Class

Defines the data contract for the entity.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
    Microsoft.MasterDataServices.Services.DataContracts.MdmDataContract<ModelContextIdentifier>
      Microsoft.MasterDataServices.Services.DataContracts.Entity

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

Syntax

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

The Entity type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property AuditInfo Gets or sets the audit information. (Inherited from MdmDataContract<TIdType>.)
Public property CodeGenerationSeed Gets or sets the seed of a code generation.
Public property ExplicitHierarchies Gets or sets the collection of explicit hierarchies.
Public property Identifier Gets or sets the identifier. (Inherited from MdmDataContract<TIdType>.)
Public property IsBase Gets or sets a value that indicates whether the entity is a base entity for the model.
Public property IsCodeGenerationEnabled Gets or sets a value that indicates whether the code generation is enabled.
Public property IsFlat Gets or sets a value that indicates whether the entity has an explicit hierarchy or not.
Public property IsSystem Gets or sets a value that indicates whether the entity was created by the Master Data Services system. System entities cannot be deleted.
Public property MemberTypes Gets or sets the collection of member types.
Public property Permission Gets or sets the permission. (Inherited from MdmDataContract<TIdType>.)
Public property StagingName Gets or sets the staging name for the entity.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
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