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 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.MasterDataServices.Services.DataContracts 命名空间