共用方式為


MdmDataContract<TIdType> 類別

Defines the base data contract.

繼承階層

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

命名空間:  Microsoft.MasterDataServices.Services.DataContracts
組件:  Microsoft.MasterDataServices.Services.Contracts (在 Microsoft.MasterDataServices.Services.Contracts.dll 中)

語法

'宣告
<DataContractAttribute(Name := "MdmDataContractOf{0}", Namespace := "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")> _
Public MustInherit Class MdmDataContract(Of TIdType As {New, Identifier}) _
    Inherits DataContractBase
'用途
Dim instance As MdmDataContract(Of TIdType)
[DataContractAttribute(Name = "MdmDataContractOf{0}", Namespace = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public abstract class MdmDataContract<TIdType> : DataContractBase 
where TIdType : new(), Identifier
[DataContractAttribute(Name = L"MdmDataContractOf{0}", Namespace = L"https://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 = "https://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type MdmDataContract<'TIdType when 'TIdType : new() and Identifier> =  
    class 
        inherit DataContractBase 
    end
JScript 不支援一般類型和方法。

型別參數

  • TIdType
    The type of the identifier.

MdmDataContract<TIdType> 型別公開下列成員。

建構函式

  名稱 說明
受保護的方法 MdmDataContract<TIdType> Initializes a new instance of the MdmDataContract<TIdType> class.

上層

屬性

  名稱 說明
公用屬性 AuditInfo Gets or sets the audit information.
公用屬性 Identifier Gets or sets the identifier.
公用屬性 Permission Gets or sets the permission.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
受保護的方法 SetProperty<T> 基礎結構。Sets the property using the specified values. (繼承自 DataContractBase。)
公用方法 ToString (繼承自 Object。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.MasterDataServices.Services.DataContracts 命名空間

繼承階層

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