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 = "https://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 = "https://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 = "https://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 := "https://schemas.microsoft.com/xrm/2011/Metadata")>
Public MustInherit Class MetadataBase
Implements IExtensibleDataObject
Constructors
Name | Description | |
---|---|---|
MetadataBase() | Initializes a new instance of theMetadataBase class |
Properties
Name | Description | |
---|---|---|
ExtensionData | Gets or sets the structure that contains extra data. |
|
HasChanged | Gets whether the item of metadata has changed. |
|
MetadataId | Gets or sets a unique identifier for the metadata item. |
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.) |
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