C# Class ORMSolutions.ORMArchitect.Views.RelationalView.RelationalShapeDomainModel

Inheritance: ORMSolutions.ORMArchitect.Framework.Shell.IDomainModelEnablesRulesAfterDeserialization
Exibir arquivo Open project: ormfoundation/NORMA-plus Class Usage Examples

Public Properties

Property Type Description
DomainModelId global::System.Guid

Private Properties

Property Type Description
CreateElement DslModeling::ModelElement
CreateElementLink DslModeling::ElementLink

Public Methods

Method Description
DisableDiagramRules ( DslModeling::Store store ) : void

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

EnableDiagramRules ( DslModeling::Store 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 ( DslModeling::ClosureType type, global::System.Collections.Generic.ICollection rootElements ) : DslModeling::IElementVisitorFilter

Returns an IElementVisitorFilter that corresponds to the ClosureType.

RelationalShapeDomainModel ( DslModeling::Store store )

Constructor.

Protected Methods

Method Description
GetGeneratedDomainModelTypes ( ) : global::System.Type[]

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

GetGeneratedDomainProperties ( ) : DomainMemberInfo[]

Gets the list of generated domain properties.

Private Methods

Method Description
CreateElement ( DslModeling::Partition partition, global::System.Type elementType, Array propertyAssignments ) : DslModeling::ModelElement
CreateElementLink ( DslModeling::Partition partition, global::System.Type elementLinkType, Array roleAssignments, Array propertyAssignments ) : DslModeling::ElementLink

Method Details

DisableDiagramRules() public static method

Disables rules in this domain model related to diagram fixup for the given store.
public static DisableDiagramRules ( DslModeling::Store store ) : void
store DslModeling::Store
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 ( DslModeling::Store store ) : void
store DslModeling::Store
return void

GetClosureFilter() public method

Returns an IElementVisitorFilter that corresponds to the ClosureType.
public GetClosureFilter ( DslModeling::ClosureType type, global::System.Collections.Generic.ICollection rootElements ) : DslModeling::IElementVisitorFilter
type DslModeling::ClosureType closure type
rootElements global::System.Collections.Generic.ICollection collection of root elements
return DslModeling::IElementVisitorFilter

GetGeneratedDomainModelTypes() protected final method

Gets the list of generated domain model types (classes, rules, relationships).
protected final GetGeneratedDomainModelTypes ( ) : global::System.Type[]
return global::System.Type[]

GetGeneratedDomainProperties() protected final method

Gets the list of generated domain properties.
protected final GetGeneratedDomainProperties ( ) : DomainMemberInfo[]
return DomainMemberInfo[]

RelationalShapeDomainModel() public method

Constructor.
public RelationalShapeDomainModel ( DslModeling::Store store )
store DslModeling::Store Store containing the domain model.

Property Details

DomainModelId public_oe static_oe property

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