MdmDataContract<TIdType> Class

Defines the base data contract.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
    Microsoft.MasterDataServices.Services.DataContracts.MdmDataContract<TIdType>
      More...

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

Syntax

'Declaration
<DataContractAttribute(Name := "MdmDataContractOf{0}", Namespace := "http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public MustInherit Class MdmDataContract(Of TIdType As {New, Identifier}) _
    Inherits DataContractBase
'Usage
Dim instance As MdmDataContract(Of TIdType)
[DataContractAttribute(Name = "MdmDataContractOf{0}", Namespace = "http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public abstract class MdmDataContract<TIdType> : DataContractBase 
where TIdType : new(), Identifier
[DataContractAttribute(Name = L"MdmDataContractOf{0}", Namespace = L"http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
generic<typename TIdType>
where TIdType : gcnew(), Identifier 
public ref class MdmDataContract abstract : public DataContractBase
[<AbstractClassAttribute>]
[<DataContractAttribute(Name = "MdmDataContractOf{0}", Namespace = "http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type MdmDataContract<'TIdType when 'TIdType : new() and Identifier> =  
    class 
        inherit DataContractBase 
    end
JScript does not support generic types and methods.

Type Parameters

  • TIdType
    The type of the identifier.

The MdmDataContract<TIdType> type exposes the following members.

Constructors

  Name Description
Protected method MdmDataContract<TIdType> Initializes a new instance of the MdmDataContract<TIdType> class.

Top

Properties

  Name Description
Public property AuditInfo Gets or sets the audit information.
Public property Identifier Gets or sets the identifier.
Public property Permission Gets or sets the permission.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetProperty<T> Infrastructure. Sets the property using the specified values. (Inherited from DataContractBase.)
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

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
    Microsoft.MasterDataServices.Services.DataContracts.MdmDataContract<TIdType>
      Microsoft.MasterDataServices.Services.DataContracts.AttributeGroup
      Microsoft.MasterDataServices.Services.DataContracts.DerivedHierarchy
      Microsoft.MasterDataServices.Services.DataContracts.DerivedHierarchyLevel
      Microsoft.MasterDataServices.Services.DataContracts.Entity
      Microsoft.MasterDataServices.Services.DataContracts.EntityMemberType
      Microsoft.MasterDataServices.Services.DataContracts.ExplicitHierarchy
      Microsoft.MasterDataServices.Services.DataContracts.MetadataAttribute
      Microsoft.MasterDataServices.Services.DataContracts.Model
      Microsoft.MasterDataServices.Services.DataContracts.SystemSetting
      Microsoft.MasterDataServices.Services.DataContracts.Version
      Microsoft.MasterDataServices.Services.DataContracts.VersionFlag