Partager via


CoreDomainModel Class

Definition

DomainModel CoreDomainModel Core domain model that defines the base domain classes and relationships from which all other domain types inherit.

public ref class CoreDomainModel sealed : Microsoft::VisualStudio::Modeling::DomainModel
[Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.CoreDomainModel.Description", typeof(Microsoft.VisualStudio.Modeling.CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.CoreDomainModel.DisplayName", typeof(Microsoft.VisualStudio.Modeling.CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")]
[Microsoft.VisualStudio.Modeling.DomainObjectId("968f9fb9-6074-49e3-8ec2-1e1ce7143e71")]
[System.CLSCompliant(true)]
public sealed class CoreDomainModel : Microsoft.VisualStudio.Modeling.DomainModel
[<Microsoft.VisualStudio.Modeling.Design.DescriptionResource("Microsoft.VisualStudio.Modeling.CoreDomainModel.Description", typeof(Microsoft.VisualStudio.Modeling.CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.Design.DisplayNameResource("Microsoft.VisualStudio.Modeling.CoreDomainModel.DisplayName", typeof(Microsoft.VisualStudio.Modeling.CoreDomainModel), "Microsoft.VisualStudio.Modeling.GeneratedCode.DomainModelResx")>]
[<Microsoft.VisualStudio.Modeling.DomainObjectId("968f9fb9-6074-49e3-8ec2-1e1ce7143e71")>]
[<System.CLSCompliant(true)>]
type CoreDomainModel = class
    inherit DomainModel
Public NotInheritable Class CoreDomainModel
Inherits DomainModel
Inheritance
CoreDomainModel
Attributes

Constructors

CoreDomainModel(Store)

Constructor.

Fields

DomainModelId

CoreDomainModel domain model Id.

ResourceBaseName

The base name of this model's resources.

Properties

DomainModelInfo

Gets domain model information.

(Inherited from DomainModel)
ResourceManager

Gets the DomainModel's ResourceManager. If the ResourceManager does not already exist, then it is created.

SingletonResourceManager

Gets the Singleton ResourceManager for this domain model.

Store

Gets the Store which contains this instance of domain model.

(Inherited from DomainModel)

Methods

CreateElement(Partition, Type, PropertyAssignment[])

Creates an element of specified type.

CreateElementLink(Partition, Type, RoleAssignment[], PropertyAssignment[])

Creates an element link of specified type.

GetClosureFilter(ClosureType, ICollection<ModelElement>)

Returns an IElementVisitorFilter that corresponds to the particular closure type.

(Inherited from DomainModel)
GetClosureVisitor(ClosureType, ICollection<ModelElement>)

Returns an IElementVisitor that corresponds to the particular closure type.

(Inherited from DomainModel)
GetCustomDomainModelTypes()

Gets the list of non-generated domain model types.

(Inherited from DomainModel)
GetCustomDomainProperties()

Gets the list of non-generated domain properties.

(Inherited from DomainModel)
GetCustomDomainRoles()

Gets the list of non-generated domain roles.

(Inherited from DomainModel)
GetGeneratedDomainModelTypes()

Gets the list of generated domain model types (classes, rules, relationships).

(Inherited from DomainModel)
GetGeneratedDomainProperties()

Gets the list of generated domain properties.

(Inherited from DomainModel)
GetGeneratedDomainRoles()

Gets the list of generated domain roles.

(Inherited from DomainModel)

Applies to