Entity Class

Definition

成员及其属性值的表格分组。A tabular grouping of members and their attribute values.

public ref class Entity : Microsoft::MasterDataServices::Services::DataContracts::MetadataDataContract<Microsoft::MasterDataServices::Services::DataContracts::ModelContextIdentifier ^>
[System.Runtime.Serialization.DataContract(Name="Entity", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public class Entity : Microsoft.MasterDataServices.Services.DataContracts.MetadataDataContract<Microsoft.MasterDataServices.Services.DataContracts.ModelContextIdentifier>
type Entity = class
    inherit MetadataDataContract<ModelContextIdentifier>
Public Class Entity
Inherits MetadataDataContract(Of ModelContextIdentifier)
Inheritance
Attributes

Remarks

Entity复杂类型为成员指定容器及其属性值和显式层次结构。The Entity complex type specifies a container for members and their attribute values and explicit hierarchy.

Constructors

Entity()

初始化 Entity 类的新实例。Initializes a new instance of the Entity class.

Properties

AccessPermission

指定AccessPermissionSpecifies the AccessPermission.

(Inherited from MetadataDataContract<TIdType>)
AuditInfo

指定 AuditInfoSpecifies the AuditInfo.

(Inherited from MetadataDataContract<TIdType>)
CodeGenerationSeed

指定应从中生成新成员Code的起始值。Specifies a starting value from which new member Code should be generated. 将忽略此值,除非 IsCodeGenerationEnabled 设置为 true。This value is ignored unless IsCodeGenerationEnabled is set to true.

DataCompressionType

指定数据压缩的类型。Specifies the type of the data compression.

Description

指定描述Specifies the description

ExplicitHierarchies

指定 ExplicitHierarchy 列表。Specifies the ExplicitHierarchy list.

Identifier

指定标识符。Specifies the Identifier.

(Inherited from MetadataDataContract<TIdType>)
Indexes

指定 Index 列表。Specifies the Index list.

IsBase

指定实体是否为的基实体 ModelSpecifies whether the entity is a base entity for the Model.

IsCodeGenerationEnabled

指定一个标志,该标志指示是否启用自动代码生成。Specifies a flag indicating whether automatic code generation is enabled. 如果为 true,则 Member 将使用从开始的自动生成的数值增量Code值创建新的 CodeGenerationSeedWhen true, new Members will be created with an autogenerated, numeric, incrementing Code value that starts at CodeGenerationSeed. 为 false 时, Member 创建者必须指定Code值。When false, the Member creator must specify a Code value.

IsCollectionEnabled

指定是否为集合操作启用实体。Specifies whether the entity is enabled for collection operations.

IsFlat

指定一个值,该值指示此实例是否为简单实例(即不支持显式层次结构或集合)。Specifies a value indicating whether this instance is flat (i.e. does not support Explicit Hierarchies or Collections).

IsHierarchyEnabled

指定是否为显式层次结构操作启用实体。Specifies whether the entity is enabled for explicit hierarchy operations.

IsSyncTarget

指定此实体是否为同步关系的目标。Specifies whether this entity is the target of a sync relationship.

IsSystem

指定实体是否为系统实体。Specifies whether the entity is a system entity.

MemberTypes

指定 EntityMemberType 列表。Specifies the EntityMemberType list.

Permission

指定PermissionTypeSpecifies the PermissionType.

(Inherited from MetadataDataContract<TIdType>)
RequireApproval

指定实体是否需要批准Specifies if entity require approval

StagingName

指定实体的临时名称。Specifies the staging name for the entity.

TransactionLogType

指定事务日志类型。Specifies the transaction log type.

Methods

SetProperty<T>(T, T, String)

将属性更改为给定的值。Changes the property to the given value.
返回新值是否不同于旧值。Returns whether the new value is different from the old value.

(Inherited from DataContractBase)
SetProperty<T>(T, T, String, Boolean)

将属性更改为给定的值。Changes the property to the given value.
返回新值是否不同于旧值。Returns whether the new value is different from the old value.

(Inherited from DataContractBase)

Applies to

See also