ManyToManyRelationshipMetadata Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

Namespace:   Microsoft.Xrm.Sdk.Metadata
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Xrm.Sdk.Metadata.MetadataBase
    Microsoft.Xrm.Sdk.Metadata.RelationshipMetadataBase
      Microsoft.Xrm.Sdk.Metadata.ManyToManyRelationshipMetadata

Syntax

[MetadataNameAttribute(LogicalName = "ManyToManyRelationshipMetadata", 
    LogicalCollectionName = "ManyToManyRelationshipDefinitions")]
[DataContractAttribute(Name = "ManyToManyRelationshipMetadata", 
    Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")]
public sealed class ManyToManyRelationshipMetadata : RelationshipMetadataBase
<MetadataNameAttribute(LogicalName := "ManyToManyRelationshipMetadata",
    LogicalCollectionName := "ManyToManyRelationshipDefinitions")>
<DataContractAttribute(Name := "ManyToManyRelationshipMetadata",
    Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata")>
Public NotInheritable Class ManyToManyRelationshipMetadata
    Inherits RelationshipMetadataBase

Constructors

Name Description
System_CAPS_pubmethod ManyToManyRelationshipMetadata()

Initializes a new instance of theManyToManyRelationshipMetadata class

Properties

Name Description
System_CAPS_pubproperty Entity1AssociatedMenuConfiguration

Gets or sets the associated menu configuration for the first entity.

System_CAPS_pubproperty Entity1IntersectAttribute

Gets or sets the attribute that defines the relationship in the first entity.

System_CAPS_pubproperty Entity1LogicalName

Gets or sets the logical name of the first entity in the relationship.

System_CAPS_pubproperty Entity1NavigationPropertyName

Gets or sets the navigation property name for the first entity in the relationship.

System_CAPS_pubproperty Entity2AssociatedMenuConfiguration

Gets or sets the associated menu configuration for the second entity.

System_CAPS_pubproperty Entity2IntersectAttribute

Gets or sets the attribute that defines the relationship in the second entity.

System_CAPS_pubproperty Entity2LogicalName

Gets or sets the logical name of the second entity in the relationship.

System_CAPS_pubproperty Entity2NavigationPropertyName

Gets or sets the navigation property name for the second entity in the relationship.

System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.(Inherited from MetadataBase.)

System_CAPS_pubproperty HasChanged

Gets whether the item of metadata has changed.(Inherited from MetadataBase.)

System_CAPS_pubproperty IntersectEntityName

Gets or sets the name of the intersect entity for the relationship.

System_CAPS_pubproperty IntroducedVersion

Gets a string identifying the solution version that the solution component was added in.(Inherited from RelationshipMetadataBase.)

System_CAPS_pubproperty IsCustomizable

Gets or sets whether the entity relationship is customizable.(Inherited from RelationshipMetadataBase.)

System_CAPS_pubproperty IsCustomRelationship

Gets whether the relationship is a custom relationship.(Inherited from RelationshipMetadataBase.)

System_CAPS_pubproperty IsManaged

Gets whether the entity relationship is part of a managed solution. (Inherited from RelationshipMetadataBase.)

System_CAPS_pubproperty IsValidForAdvancedFind

Gets or sets whether the entity relationship should be shown in Advanced Find.(Inherited from RelationshipMetadataBase.)

System_CAPS_pubproperty MetadataId

Gets or sets a unique identifier for the metadata item.(Inherited from MetadataBase.)

System_CAPS_pubproperty RelationshipType

Gets the type of relationship.(Inherited from RelationshipMetadataBase.)

System_CAPS_pubproperty SchemaName

Gets or sets the schema name for the entity relationship.(Inherited from RelationshipMetadataBase.)

System_CAPS_pubproperty SecurityTypes

Gets or sets the security type for the relationship.(Inherited from RelationshipMetadataBase.)

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Xrm.Sdk.Metadata Namespace
Customize entity relationship metadata

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright