Del via


OneToManyRelationshipMetadata Class

Definition

Contains the metadata for a one-to-many entity relationship.

public ref class OneToManyRelationshipMetadata sealed : Microsoft::Xrm::Sdk::Metadata::RelationshipMetadataBase
[Microsoft.Xrm.Sdk.Metadata.MetadataName(LogicalCollectionName="OneToManyRelationshipDefinitions", LogicalName="OneToManyRelationshipMetadata")]
[System.Runtime.Serialization.DataContract(Name="OneToManyRelationshipMetadata", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")]
public sealed class OneToManyRelationshipMetadata : Microsoft.Xrm.Sdk.Metadata.RelationshipMetadataBase
[<Microsoft.Xrm.Sdk.Metadata.MetadataName(LogicalCollectionName="OneToManyRelationshipDefinitions", LogicalName="OneToManyRelationshipMetadata")>]
[<System.Runtime.Serialization.DataContract(Name="OneToManyRelationshipMetadata", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")>]
type OneToManyRelationshipMetadata = class
    inherit RelationshipMetadataBase
Public NotInheritable Class OneToManyRelationshipMetadata
Inherits RelationshipMetadataBase
Inheritance
OneToManyRelationshipMetadata
Attributes

Constructors

OneToManyRelationshipMetadata()

Initializes a new instance of the OneToManyRelationshipMetadata class

Properties

AssociatedMenuConfiguration

Gets or sets the associated menu configuration.

CascadeConfiguration

Gets or sets cascading behaviors for the entity relationship.

DenormalizedAttributeName
EntityKey
ExtensionData

Gets or sets the structure that contains extra data.

(Inherited from MetadataBase)
HasChanged

Gets whether the item of metadata has changed.

(Inherited from MetadataBase)
IntroducedVersion

Gets a string identifying the solution version that the solution component was added in.

(Inherited from RelationshipMetadataBase)
IsCustomizable

Gets or sets whether the entity relationship is customizable.

(Inherited from RelationshipMetadataBase)
IsCustomRelationship

Gets whether the relationship is a custom relationship.

(Inherited from RelationshipMetadataBase)
IsDenormalizedLookup
IsHierarchical

Gets or sets whether this relationship is the designated hierarchical self-referential relationship for this entity.

IsManaged

Gets whether the entity relationship is part of a managed solution.

(Inherited from RelationshipMetadataBase)
IsRelationshipAttributeDenormalized
IsValidForAdvancedFind

Gets or sets whether the entity relationship should be shown in Advanced Find.

(Inherited from RelationshipMetadataBase)
MetadataId

Gets or sets a unique identifier for the metadata item.

(Inherited from MetadataBase)
ReferencedAttribute

Get or set the name of primary attribute for the referenced entity.

ReferencedEntity

Get or set the name of the referenced entity.

ReferencedEntityNavigationPropertyName

Gets or sets the name of the collection-valued navigation property used by this relationship.

ReferencingAttribute

Get or set the name of the referencing attribute.

ReferencingEntity

Gets or sets the name of the referencing entity.

ReferencingEntityNavigationPropertyName

Gets or sets the name of the single-valued navigation property used by this relationship.

RelationshipAttributes
RelationshipBehavior
RelationshipType

Gets the type of relationship.

(Inherited from RelationshipMetadataBase)
SchemaName

Gets or sets the schema name for the entity relationship.

(Inherited from RelationshipMetadataBase)
SecurityTypes

Gets or sets the security type for the relationship.

(Inherited from RelationshipMetadataBase)

Applies to