Compartir a través de


RelationshipMetadataBase Class

Definition

Contains the metadata for an entity relationship.

public ref class RelationshipMetadataBase abstract : Microsoft::Xrm::Sdk::Metadata::MetadataBase
[Microsoft.Xrm.Sdk.Metadata.MetadataName(LogicalCollectionName="RelationshipDefinitions", LogicalName="RelationshipMetadataBase")]
[System.Runtime.Serialization.DataContract(Name="RelationshipMetadataBase", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.Metadata.OneToManyRelationshipMetadata))]
[System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.Metadata.ManyToManyRelationshipMetadata))]
public abstract class RelationshipMetadataBase : Microsoft.Xrm.Sdk.Metadata.MetadataBase
[<Microsoft.Xrm.Sdk.Metadata.MetadataName(LogicalCollectionName="RelationshipDefinitions", LogicalName="RelationshipMetadataBase")>]
[<System.Runtime.Serialization.DataContract(Name="RelationshipMetadataBase", Namespace="http://schemas.microsoft.com/xrm/2011/Metadata")>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.Metadata.OneToManyRelationshipMetadata))>]
[<System.Runtime.Serialization.KnownType(typeof(Microsoft.Xrm.Sdk.Metadata.ManyToManyRelationshipMetadata))>]
type RelationshipMetadataBase = class
    inherit MetadataBase
Public MustInherit Class RelationshipMetadataBase
Inherits MetadataBase
Inheritance
RelationshipMetadataBase
Derived
Attributes

Remarks

This is the base class used by OneToManyRelationshipMetadata and ManyToManyRelationshipMetadata.

Constructors

RelationshipMetadataBase()

Initializes a new instance of the RelationshipMetadataBase class

RelationshipMetadataBase(RelationshipType)

Initializes a new instance of the RelationshipMetadataBase class

Properties

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.

IsCustomizable

Gets or sets whether the entity relationship is customizable.

IsCustomRelationship

Gets whether the relationship is a custom relationship.

IsManaged

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

IsValidForAdvancedFind

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

MetadataId

Gets or sets a unique identifier for the metadata item.

(Inherited from MetadataBase)
RelationshipType

Gets the type of relationship.

SchemaName

Gets or sets the schema name for the entity relationship.

SecurityTypes

Gets or sets the security type for the relationship.

Applies to