C# 클래스 Company.OrmLanguage.EntityRelationShipConnectAction.EntityRelationShipConnectionTypeBase

상속: DslDiagrams::ConnectionType
파일 보기 프로젝트 열기: thabart/SimpleOrm

공개 메소드들

메소드 설명
CanCreateConnection ( global::Microsoft.VisualStudio.Modeling.Diagrams sourceShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams targetShapeElement, string &connectionWarning ) : bool

Called by the base ConnectAction class to determine if the given shapes can be connected.

This implementation delegates calls to the ConnectionBuilder EntityHasRelationShipsBuilder.

CreateConnection ( global::Microsoft.VisualStudio.Modeling.Diagrams sourceShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams targetShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams paintFeedbackArgs ) : void

Called by the base ConnectAction class to create the underlying relationship.

This implementation delegates calls to the ConnectionBuilder EntityHasRelationShipsBuilder.

IsValidSourceAndTarget ( global::Microsoft.VisualStudio.Modeling.Diagrams sourceShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams targetShapeElement ) : bool

Called by the base ConnectAction class to ask whether the given source and target are valid.

Always return true here, to give CanCreateConnection a chance to decide.

보호된 메소드들

메소드 설명
EntityRelationShipConnectionTypeBase ( )

Constructs a new the EntityRelationShipConnectionType with the given ConnectionBuilder.

비공개 메소드들

메소드 설명
RemovePassThroughShapes ( global::Microsoft.VisualStudio.Modeling.Diagrams shape ) : DslDiagrams::ShapeElement

메소드 상세

CanCreateConnection() 공개 메소드

Called by the base ConnectAction class to determine if the given shapes can be connected.
This implementation delegates calls to the ConnectionBuilder EntityHasRelationShipsBuilder.
public CanCreateConnection ( global::Microsoft.VisualStudio.Modeling.Diagrams sourceShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams targetShapeElement, string &connectionWarning ) : bool
sourceShapeElement global::Microsoft.VisualStudio.Modeling.Diagrams
targetShapeElement global::Microsoft.VisualStudio.Modeling.Diagrams
connectionWarning string
리턴 bool

CreateConnection() 공개 메소드

Called by the base ConnectAction class to create the underlying relationship.
This implementation delegates calls to the ConnectionBuilder EntityHasRelationShipsBuilder.
public CreateConnection ( global::Microsoft.VisualStudio.Modeling.Diagrams sourceShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams targetShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams paintFeedbackArgs ) : void
sourceShapeElement global::Microsoft.VisualStudio.Modeling.Diagrams
targetShapeElement global::Microsoft.VisualStudio.Modeling.Diagrams
paintFeedbackArgs global::Microsoft.VisualStudio.Modeling.Diagrams
리턴 void

EntityRelationShipConnectionTypeBase() 보호된 메소드

Constructs a new the EntityRelationShipConnectionType with the given ConnectionBuilder.

IsValidSourceAndTarget() 공개 메소드

Called by the base ConnectAction class to ask whether the given source and target are valid.
Always return true here, to give CanCreateConnection a chance to decide.
public IsValidSourceAndTarget ( global::Microsoft.VisualStudio.Modeling.Diagrams sourceShapeElement, global::Microsoft.VisualStudio.Modeling.Diagrams targetShapeElement ) : bool
sourceShapeElement global::Microsoft.VisualStudio.Modeling.Diagrams
targetShapeElement global::Microsoft.VisualStudio.Modeling.Diagrams
리턴 bool