Entity Entity 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>
Public Class Entity
Inherits MetadataDataContract(Of ModelContextIdentifier)
Inheritance
Attributes

Remarks

The Entity complex type specifies a container for members and their attribute values and explicit hierarchy.

Constructors

Entity() Entity() Entity()

Initializes a new instance of the Entity class.

Properties

AccessPermission AccessPermission AccessPermission

Gets or sets the AccessPermission.

(Inherited from MetadataDataContract<TIdType>)
AuditInfo AuditInfo AuditInfo

Gets or sets the AuditInfo.

(Inherited from MetadataDataContract<TIdType>)
CodeGenerationSeed CodeGenerationSeed CodeGenerationSeed

Gets or sets a starting value from which new member Code should be generated. This value is ignored unless IsCodeGenerationEnabled is set to true.

DataCompressionType DataCompressionType DataCompressionType

Gets or sets the type of the data compression.

Description Description Description

Gets or sets the entity description.

ExplicitHierarchies ExplicitHierarchies ExplicitHierarchies

Gets or sets the ExplicitHierarchy list.

Identifier Identifier Identifier

Gets or sets the metadata identifier.

(Inherited from MetadataDataContract<TIdType>)
Indexes Indexes Indexes

Gets or sets the Index list.

IsBase IsBase IsBase

Gets or sets a value that indicates whether the entity is a base entity for the Model.

IsCodeGenerationEnabled IsCodeGenerationEnabled IsCodeGenerationEnabled

Gets or sets a flag indicating whether automatic code generation is enabled. When true, new Members will be created with an autogenerated, numeric, incrementing Code value that starts at CodeGenerationSeed. When false, the Member creator must specify a Code value.

IsCollectionEnabled IsCollectionEnabled IsCollectionEnabled

Gets or sets a value that indicates whether the entity is enabled for collection operations.

IsFlat IsFlat IsFlat

Specifies a value indicating whether this instance is flat (i.e. does not support Explicit Hierarchies or Collections).

IsHierarchyEnabled IsHierarchyEnabled IsHierarchyEnabled

Gets or sets a value that indicates whether the entity is enabled for explicit hierarchy operations.

IsSyncTarget IsSyncTarget IsSyncTarget

Gets or sets a value that indicates whether this entity is the target of a sync relationship.

IsSystem IsSystem IsSystem

Gets or sets a value that indicates whether the entity is a system entity.

MemberTypes MemberTypes MemberTypes

Gets the EntityMemberType list.

Permission Permission Permission

Gets or sets the PermissionType.

(Inherited from MetadataDataContract<TIdType>)
RequireApproval RequireApproval RequireApproval

Gets or sets a value that indicates whether the entity requires approval.

StagingName StagingName StagingName

Gets or sets the staging name for the entity.

TransactionLogType TransactionLogType TransactionLogType

Gets or sets the transaction log type.

Methods

SetProperty<T>(T, T, String) SetProperty<T>(T, T, String) 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) SetProperty<T>(T, T, String, Boolean) 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