Share via


Model Class

Defines the data contract for the model.

Inheritance Hierarchy

System.Object
  Microsoft.MasterDataServices.Services.DataContracts.DataContractBase
    Microsoft.MasterDataServices.Services.DataContracts.MdmDataContract<Identifier>
      Microsoft.MasterDataServices.Services.DataContracts.Model

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

Syntax

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

The Model type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property AuditInfo Gets or sets the audit information. (Inherited from MdmDataContract<TIdType>.)
Public property DerivedHierarchies Gets or sets the DerivedHierarchy list.
Public property Entities Gets or sets the Entity list.
Public property ExplicitHierarchies Gets or sets the ExplicitHierarchy list.
Public property Identifier Gets or sets the identifier. (Inherited from MdmDataContract<TIdType>.)
Public property IsAdministrator Gets or sets a value that indicates whether the current user is an administrator of the model.
Public property IsSystem Gets or sets a value that indicates whether the model is a system model.
Public property Permission Gets or sets the permission. (Inherited from MdmDataContract<TIdType>.)
Public property VersionFlags Gets or sets the VersionFlag list.
Public property Versions Gets or sets the Version list.

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