C# Class Company.OrmLanguage.OrmLanguageDomainModel

Inheritance: DslModeling::DomainModel
显示文件 Open project: thabart/SimpleOrm

Public Properties

Property Type Description
DomainModelId global::System.Guid

Private Properties

Property Type Description
CreateElement DslModeling::ModelElement
CreateElementLink DslModeling::ElementLink
GetGeneratedDomainModelTypes global::System.Type[]
GetGeneratedDomainProperties DomainMemberInfo[]
InitializeSerialization void

Public Methods

Method Description
DisableDiagramRules ( global::Microsoft.VisualStudio.Modeling store ) : void

Disables rules in this domain model related to diagram fixup for the given store.

EnableDiagramRules ( global::Microsoft.VisualStudio.Modeling store ) : void

Enables rules in this domain model related to diagram fixup for the given store. If diagram data will be loaded into the store, this method should be called first to ensure that the diagram behaves properly.

GetClosureFilter ( global::Microsoft.VisualStudio.Modeling type, global rootElements ) : DslModeling::IElementVisitorFilter

Returns an IElementVisitorFilter that corresponds to the ClosureType.

OrmLanguageDomainModel ( global::Microsoft.VisualStudio.Modeling store )

Constructor.

Protected Methods

Method Description
GetGeneratedDomainRoles ( ) : DomainRolePlayerInfo[]

Gets the list of generated domain roles.

Private Methods

Method Description
CreateElement ( global::Microsoft.VisualStudio.Modeling partition, global elementType, global::Microsoft.VisualStudio.Modeling propertyAssignments ) : DslModeling::ModelElement
CreateElementLink ( global::Microsoft.VisualStudio.Modeling partition, global elementLinkType, global::Microsoft.VisualStudio.Modeling roleAssignments, global::Microsoft.VisualStudio.Modeling propertyAssignments ) : DslModeling::ElementLink
GetGeneratedDomainModelTypes ( ) : global::System.Type[]
GetGeneratedDomainProperties ( ) : DomainMemberInfo[]
InitializeSerialization ( global::Microsoft.VisualStudio.Modeling store ) : void

Method Details

DisableDiagramRules() public static method

Disables rules in this domain model related to diagram fixup for the given store.
public static DisableDiagramRules ( global::Microsoft.VisualStudio.Modeling store ) : void
store global::Microsoft.VisualStudio.Modeling
return void

EnableDiagramRules() public static method

Enables rules in this domain model related to diagram fixup for the given store. If diagram data will be loaded into the store, this method should be called first to ensure that the diagram behaves properly.
public static EnableDiagramRules ( global::Microsoft.VisualStudio.Modeling store ) : void
store global::Microsoft.VisualStudio.Modeling
return void

GetClosureFilter() public method

Returns an IElementVisitorFilter that corresponds to the ClosureType.
public GetClosureFilter ( global::Microsoft.VisualStudio.Modeling type, global rootElements ) : DslModeling::IElementVisitorFilter
type global::Microsoft.VisualStudio.Modeling closure type
rootElements global collection of root elements
return DslModeling::IElementVisitorFilter

GetGeneratedDomainRoles() protected final method

Gets the list of generated domain roles.
protected final GetGeneratedDomainRoles ( ) : DomainRolePlayerInfo[]
return DomainRolePlayerInfo[]

OrmLanguageDomainModel() public method

Constructor.
public OrmLanguageDomainModel ( global::Microsoft.VisualStudio.Modeling store )
store global::Microsoft.VisualStudio.Modeling Store containing the domain model.

Property Details

DomainModelId public_oe static_oe property

OrmLanguageDomainModel domain model Id.
public static global::System.Guid DomainModelId
return global::System.Guid