Share via


Model Class

Definition

The highest grouping of entities in MDS.

public ref class Model sealed : Microsoft::MasterDataServices::Services::DataContracts::MetadataDataContract<Microsoft::MasterDataServices::Services::DataContracts::Identifier ^>
[System.Runtime.Serialization.DataContract(Name="Model", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")]
public sealed class Model : Microsoft.MasterDataServices.Services.DataContracts.MetadataDataContract<Microsoft.MasterDataServices.Services.DataContracts.Identifier>
[<System.Runtime.Serialization.DataContract(Name="Model", Namespace="http://schemas.microsoft.com/sqlserver/masterdataservices/2009/09")>]
type Model = class
    inherit MetadataDataContract<Identifier>
Public NotInheritable Class Model
Inherits MetadataDataContract(Of Identifier)
Inheritance
Attributes

Remarks

The Model specifies the highest level of data organization. Model contains all the Members, Entities, Attributes, Hierarchy relationships, BusinessRules, Versions, etc that describe an aspect of the business.

Constructors

Model()

Initializes a new instance of the Model class.

Properties

AccessPermission

Specifies the AccessPermission.

(Inherited from MetadataDataContract<TIdType>)
AuditInfo

Specifies the AuditInfo.

(Inherited from MetadataDataContract<TIdType>)
DerivedHierarchies

Specifies the DerivedHierarchy list.

Description

Specifies the description

Entities

Specifies the Entity list.

ExplicitHierarchies
Obsolete.

Specifies the ExplicitHierarchy list.

Identifier

Specifies the Identifier.

(Inherited from MetadataDataContract<TIdType>)
IsAdministrator
Obsolete.

Specifies whether the current user is an administrator of the model.

IsSystem
Obsolete.

Specifies whether the model is a system model.

LogRetentionDays

Specifies the number of days that transaction logs will be kept. NULL means use the LogRetentionDays system setting -1 means logs should be kept indefinitely

Permission

Specifies the Permission.

(Inherited from MetadataDataContract<TIdType>)
VersionFlags

Specifies the VersionFlag list.

Versions

Specifies the Version list.

Methods

SetProperty<T>(T, T, String, Boolean)

Changes the property to the given value.
Returns whether the new value is different from the old value.

(Inherited from DataContractBase)
SetProperty<T>(T, T, String)

Changes the property to the given value.
Returns whether the new value is different from the old value.

(Inherited from DataContractBase)

Applies to

See also