EntityMetadata Class (MetadataService)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Contains the metadata for an entity.

The EntityMetadata class inherits from CrmMetadata. It exposes the following members.

Constructor Description
EntityMetadata Initializes a new instance of the EntityMetadata class.
Instance Property Description
Attributes Gets the array of attribute metadata for the entity.
CanTriggerWorkflow Gets whether the entity can trigger a workflow process.
Description Gets or sets the description for the entity.
DisplayCollectionName Gets or sets the plural display name for the entity.
DisplayName Gets or sets the display name for the entity.
DuplicateDetection Gets or sets whether duplicate detection is enabled for the entity.
IsActivity Gets whether the entity is an activity.
IsAvailableOffline Gets or sets whether the entity is available offline.
IsChildEntity Gets whether the entity is a child entity.
IsCustomEntity Gets whether the entity is a custom entity.
IsCustomizable Gets whether the entity is customizable.
IsImportable Gets whether the entity can be imported.
IsIntersect Gets whether the entity is an intersection table for two other entities.
IsMailMergeEnabled Gets or sets whether mail merge is enabled for this entity.
IsValidForAdvancedFind Gets or sets whether the entity is valid for Advanced Find.
LogicalName Gets the logical name for the entity.
ManyToManyRelationships Gets the array of many-to-many relationships for the entity.
ManyToOneRelationships Gets the array of many-to-one relationships for the entity.
OneToManyRelationships Gets the array of one-to-many relationships for the entity.
ObjectTypeCode Gets the entity type code.
OwnershipType Gets or sets the ownership type for the entity.
PrimaryField Gets the attribute name of the primary field for the entity.
PrimaryKey Gets the attribute name of the primary key for the entity.
Privileges Gets the privilege metadata for the entity.
ReportViewName Gets the name of the report view for the entity.
SchemaName Gets or sets the schema name for the entity.
WorkflowSupport Gets the bit flag that indicates what workflow operations are supported for this entity in the workflow designer.

Remarks

This class is returned in the response from the RetrieveEntity message.

Requirements

Web service: MetadataService

See Also

Reference

© 2010 Microsoft Corporation. All rights reserved.