MetadataAttribute Class

Defines the data contract for the metadata attribute.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
    Microsoft.MasterDataServices.Services.DataContracts.MdmDataContract<MemberTypeContextIdentifier>
      Microsoft.MasterDataServices.Services.DataContracts.MetadataAttribute

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

Syntax

'Declaration
<DataContractAttribute(Name := "MetadataAttribute", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public NotInheritable Class MetadataAttribute _
    Inherits MdmDataContract(Of MemberTypeContextIdentifier)
'Usage
Dim instance As MetadataAttribute
[DataContractAttribute(Name = "MetadataAttribute", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public sealed class MetadataAttribute : MdmDataContract<MemberTypeContextIdentifier>
[DataContractAttribute(Name = L"MetadataAttribute", Namespace = L"https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public ref class MetadataAttribute sealed : public MdmDataContract<MemberTypeContextIdentifier^>
[<SealedAttribute>]
[<DataContractAttribute(Name = "MetadataAttribute", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type MetadataAttribute =  
    class 
        inherit MdmDataContract<MemberTypeContextIdentifier>
    end
public final class MetadataAttribute extends MdmDataContract<MemberTypeContextIdentifier>

The MetadataAttribute type exposes the following members.

Constructors

  Name Description
Public method MetadataAttribute Initializes a new instance of the MetadataAttribute class.

Top

Properties

  Name Description
Public property AttributeType Gets or sets the type of the attribute.
Public property AuditInfo Gets or sets the audit information. (Inherited from MdmDataContract<TIdType>.)
Public property ChangeTrackingGroup Gets or sets an integer value of a change tracking group.
Public property DataType Gets or sets the data type of the attribute.
Public property DataTypeInformation Gets or sets the information of the data type.
Public property DisplayWidth Gets or sets the display width.
Public property DomainEntityId Gets or sets the identifier of domain entity.
Public property DomainEntityIsFlat Gets or sets a value that indicates whether the domain entity is flat.
Public property DomainEntityPermission Gets or sets the domain entity's permission type.
Public property FullyQualifiedName Gets or sets the fully qualified name.
Public property Identifier Gets or sets the identifier. (Inherited from MdmDataContract<TIdType>.)
Public property InputMaskId Gets or sets the identifier of the input mask.
Public property IsCode Gets or sets a value that indicates whether the attribute is a code attribute.
Public property IsName Gets or sets a value that indicates whether the attribute is a name attribute.
Public property IsReadOnly Gets or sets a value that indicates whether the attribute is read-only.
Public property IsSystem Gets or sets a value that indicates whether the attribute is a system attribute.
Public property Permission Gets or sets the permission. (Inherited from MdmDataContract<TIdType>.)
Public property SortOrder Gets or sets the sort order of the attribute among other attributes of the same entity and member type.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

Microsoft.MasterDataServices.Services.DataContracts Namespace