RelationshipMetadataBase Class

 

Applies To: Dynamics CRM 2015

Contains the metadata for an 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
      Microsoft.Xrm.Sdk.Metadata.OneToManyRelationshipMetadata

Syntax

[DataContractAttribute(Name = "RelationshipMetadataBase", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata")]
[KnownTypeAttribute(typeof(OneToManyRelationshipMetadata))]
[KnownTypeAttribute(typeof(ManyToManyRelationshipMetadata))]
public abstract class RelationshipMetadataBase : MetadataBase
[DataContractAttribute(Name = "RelationshipMetadataBase", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata")]
[KnownTypeAttribute((OneToManyRelationshipMetadata^::typeid))]
[KnownTypeAttribute((ManyToManyRelationshipMetadata^::typeid))]
public ref class RelationshipMetadataBase abstract : MetadataBase
[<AbstractClass>]
[<DataContractAttribute(Name = "RelationshipMetadataBase", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata")>]
[<KnownTypeAttribute(typeof(OneToManyRelationshipMetadata))>]
[<KnownTypeAttribute(typeof(ManyToManyRelationshipMetadata))>]
type RelationshipMetadataBase = 
    class
        inherit MetadataBase
    end
<DataContractAttribute(Name := "RelationshipMetadataBase", Namespace := "http://schemas.microsoft.com/xrm/2011/Metadata")>
<KnownTypeAttribute(GetType(OneToManyRelationshipMetadata))>
<KnownTypeAttribute(GetType(ManyToManyRelationshipMetadata))>
Public MustInherit Class RelationshipMetadataBase
    Inherits MetadataBase

Constructors

Name Description
System_CAPS_protmethod RelationshipMetadataBase()

Initializes a new instance of the RelationshipMetadataBase class

System_CAPS_protmethod RelationshipMetadataBase(RelationshipType)

Initializes a new instance of the RelationshipMetadataBase class

Properties

Name Description
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 IntroducedVersion

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

System_CAPS_pubproperty IsCustomizable

Gets or sets whether the entity relationship is customizable.

System_CAPS_pubproperty IsCustomRelationship

Gets whether the relationship is a custom relationship.

System_CAPS_pubproperty IsManaged

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

System_CAPS_pubproperty IsValidForAdvancedFind

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

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.

System_CAPS_pubproperty SchemaName

Gets or sets the schema name for the entity relationship.

System_CAPS_pubproperty SecurityTypes

Gets or sets the security type for the relationship.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Remarks

This is the base class used by OneToManyRelationshipMetadata and ManyToManyRelationshipMetadata.

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

© 2016 Microsoft. All rights reserved. Copyright