MetadataBase Class

 

Applies To: Dynamics CRM 2015

Specifies the base class for classes that contains metadata information.

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.LocalizedLabel
    Microsoft.Xrm.Sdk.Metadata.AttributeMetadata
    Microsoft.Xrm.Sdk.Metadata.EntityKeyMetadata
    Microsoft.Xrm.Sdk.Metadata.EntityMetadata
    Microsoft.Xrm.Sdk.Metadata.ManagedPropertyMetadata
    Microsoft.Xrm.Sdk.Metadata.OptionMetadata
    Microsoft.Xrm.Sdk.Metadata.OptionSetMetadataBase
    Microsoft.Xrm.Sdk.Metadata.RelationshipMetadataBase

Syntax

[KnownTypeAttribute(typeof(AttributeMetadata))]
[KnownTypeAttribute(typeof(OptionSetMetadata))]
[KnownTypeAttribute(typeof(EntityMetadata))]
[KnownTypeAttribute(typeof(RelationshipMetadataBase))]
[DataContractAttribute(Name = "MetadataBase", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata")]
public abstract class MetadataBase : IExtensibleDataObject
[KnownTypeAttribute((AttributeMetadata^::typeid))]
[KnownTypeAttribute((OptionSetMetadata^::typeid))]
[KnownTypeAttribute((EntityMetadata^::typeid))]
[KnownTypeAttribute((RelationshipMetadataBase^::typeid))]
[DataContractAttribute(Name = "MetadataBase", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata")]
public ref class MetadataBase abstract : IExtensibleDataObject
[<AbstractClass>]
[<KnownTypeAttribute(typeof(AttributeMetadata))>]
[<KnownTypeAttribute(typeof(OptionSetMetadata))>]
[<KnownTypeAttribute(typeof(EntityMetadata))>]
[<KnownTypeAttribute(typeof(RelationshipMetadataBase))>]
[<DataContractAttribute(Name = "MetadataBase", Namespace = "http://schemas.microsoft.com/xrm/2011/Metadata")>]
type MetadataBase = 
    class
        interface IExtensibleDataObject
    end
<KnownTypeAttribute(GetType(AttributeMetadata))>
<KnownTypeAttribute(GetType(OptionSetMetadata))>
<KnownTypeAttribute(GetType(EntityMetadata))>
<KnownTypeAttribute(GetType(RelationshipMetadataBase))>
<DataContractAttribute(Name := "MetadataBase", Namespace := "http://schemas.microsoft.com/xrm/2011/Metadata")>
Public MustInherit Class MetadataBase
    Implements IExtensibleDataObject

Constructors

Name Description
System_CAPS_protmethod MetadataBase()

Initializes a new instance of theMetadataBase class

Properties

Name Description
System_CAPS_pubproperty ExtensionData

Gets or sets the structure that contains extra data.

System_CAPS_pubproperty HasChanged

Gets whether the item of metadata has changed.

System_CAPS_pubproperty MetadataId

Gets or sets a unique identifier for the metadata item.

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.)

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
Extend the metadata model

Return to top

© 2016 Microsoft. All rights reserved. Copyright