RelationshipMetadataBase Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online
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
[MetadataNameAttribute(LogicalName = "RelationshipMetadataBase",
LogicalCollectionName = "RelationshipDefinitions")]
[DataContractAttribute(Name = "RelationshipMetadataBase", Namespace = "https://schemas.microsoft.com/xrm/2011/Metadata")]
[KnownTypeAttribute(typeof(ManyToManyRelationshipMetadata))]
[KnownTypeAttribute(typeof(OneToManyRelationshipMetadata))]
public abstract class RelationshipMetadataBase : MetadataBase
<MetadataNameAttribute(LogicalName := "RelationshipMetadataBase",
LogicalCollectionName := "RelationshipDefinitions")>
<DataContractAttribute(Name := "RelationshipMetadataBase", Namespace := "https://schemas.microsoft.com/xrm/2011/Metadata")>
<KnownTypeAttribute(GetType(ManyToManyRelationshipMetadata))>
<KnownTypeAttribute(GetType(OneToManyRelationshipMetadata))>
Public MustInherit Class RelationshipMetadataBase
Inherits MetadataBase
Constructors
Name | Description | |
---|---|---|
RelationshipMetadataBase() | Initializes a new instance of the RelationshipMetadataBase class |
|
RelationshipMetadataBase(RelationshipType) | Initializes a new instance of the RelationshipMetadataBase class |
Properties
Name | Description | |
---|---|---|
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. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
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
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright