OneToManyMetadata Class (MetadataService)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Contains the metadata for a one-to-many or many-to-one relationship between two entities.

The OneToManyMetadata class inherits from RelationshipMetadata. It exposes the following members.

Constructor Description
OneToManyMetadata Initializes a new instance of the OneToManyMetadata class.
Instance Property Description
AssociatedMenuBehavior Gets or sets the behavior of the associated menu for a one-to-many relationship.
AssociatedMenuGroup Gets or sets the group for the associated menu for a one-to-many relationship.
AssociatedMenuLabel Gets or sets the label for the associated menu.
AssociatedMenuOrder Gets or sets the order for the associated menu.
CascadeAssign Gets or sets the definition of what happens to the related record when the record is assigned to another user.
CascadeDelete Gets or sets the definition of what happens to the related record when the record is deleted.
CascadeMerge Gets or sets the definition of what happens to the related record when the record is merged with another record.
CascadeReparent Gets or sets the definition of what happens to the related record when the parent of the record is modified.
CascadeShare Gets or sets the definition of what happens to the related record when the record is shared with another user.
CascadeUnshare Gets or sets the definition of what happens to the related record when the record is no longer shared with another user.
ReferencedAttribute Gets the logical name of the referenced (one) attribute in the relationship.
ReferencedEntity Gets or sets the logical name of the referenced (one) entity in the relationship.
ReferencingAttribute Gets the logical name of the referencing (many) attribute in the relationship.
ReferencingEntity Gets or sets the logical name of the referencing (many) entity in the relationship.

Requirements

Web Service: MetadataService

See Also

Concepts

Reference

© 2010 Microsoft Corporation. All rights reserved.