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>
[<System.Runtime.Serialization.DataContract(Name="Entity", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type Entity = class
    inherit MetadataDataContract<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()

Initializes a new instance of the Entity class.

Properties

AccessPermission

Specifies the AccessPermission.

(Inherited from MetadataDataContract<TIdType>)
AuditInfo

Specifies the AuditInfo.

(Inherited from MetadataDataContract<TIdType>)
CodeGenerationSeed

Specifies a starting value from which new member Codes should be generated. This value is ignored unless IsCodeGenerationEnabled is set to true.

DataCompressionType

Specifies the type of the data compression.

Description

Specifies the description

ExplicitHierarchies
Obsolete.

Specifies the ExplicitHierarchy list.

Identifier

Specifies the Identifier.

(Inherited from MetadataDataContract<TIdType>)
Indexes

Specifies the Index list.

IsBase

Specifies whether the entity is a base entity for the Model.

IsCodeGenerationEnabled

Specifies 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

Specifies whether the entity is enabled for collection operations.

IsFlat
Obsolete.

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
Obsolete.

Specifies whether the entity is a system entity.

MemberTypes

Specifies the EntityMemberType list.

Permission

Specifies the Permission.

(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