Поделиться через


Класс Entity

Defines the data contract for the entity.

Иерархия наследования

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

Пространство имен:  Microsoft.MasterDataServices.Services.DataContracts
Сборка:  Microsoft.MasterDataServices.Services.Contracts (в Microsoft.MasterDataServices.Services.Contracts.dll)

Синтаксис

'Декларация
<DataContractAttribute(Name := "Entity", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public NotInheritable Class Entity _
    Inherits MdmDataContract(Of ModelContextIdentifier)
'Применение
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>

Тип Entity обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод Entity Initializes a new instance of the Entity class.

В начало

Свойства

  Имя Описание
Открытое свойство AuditInfo Gets or sets the audit information. (Производный от MdmDataContract<TIdType>.)
Открытое свойство CodeGenerationSeed Gets or sets the seed of a code generation.
Открытое свойство ExplicitHierarchies Gets or sets the collection of explicit hierarchies.
Открытое свойство Identifier Gets or sets the identifier. (Производный от MdmDataContract<TIdType>.)
Открытое свойство IsBase Gets or sets a value that indicates whether the entity is a base entity for the model.
Открытое свойство IsCodeGenerationEnabled Gets or sets a value that indicates whether the code generation is enabled.
Открытое свойство IsFlat Gets or sets a value that indicates whether the entity has an explicit hierarchy or not.
Открытое свойство IsSystem Gets or sets a value that indicates whether the entity was created by the Master Data Services system. System entities cannot be deleted.
Открытое свойство MemberTypes Gets or sets the collection of member types.
Открытое свойство Permission Gets or sets the permission. (Производный от MdmDataContract<TIdType>.)
Открытое свойство StagingName Gets or sets the staging name for the entity.

В начало

Методы

  Имя Описание
Открытый метод Equals (Производный от Object.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Открытый метод ToString (Производный от Object.)

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.MasterDataServices.Services.DataContracts