src/Misc/EFTools/EntityDesignEntityDesigner/GeneratedCode/ConnectionBuilders.cs
/// <summary>
/// Called by the base ConnectAction class to create the underlying relationship.
/// </summary>
/// <remarks>
/// This implementation delegates calls to the ConnectionBuilder AssociationBuilder.
/// </remarks>
Called by the base ConnectAction class to create the underlying relationship.
Called by the base ConnectAction class to create the underlying relationship .
public override void CreateConnection(DslDiagrams::ShapeElement sourceShapeElement, DslDiagrams::ShapeElement targetShapeElement, DslDiagrams::PaintFeedbackArgs paintFeedbackArgs)
			{
				if(sourceShapeElement == null) throw new global::System.ArgumentNullException("sourceShapeElement");
				if(targetShapeElement == null) throw new global::System.ArgumentNullException("targetShapeElement");
				sourceShapeElement = RemovePassThroughShapes(sourceShapeElement);
				targetShapeElement = RemovePassThroughShapes(targetShapeElement);
				DslModeling::ModelElement sourceElement = sourceShapeElement.ModelElement;
				if(sourceElement == null) sourceElement = sourceShapeElement;
				DslModeling::ModelElement targetElement = targetShapeElement.ModelElement;
				if(targetElement == null) targetElement = targetShapeElement;
				AssociationBuilder.Connect(sourceElement, targetElement);
			}
public override void CreateConnection ( DslDiagrams :: ShapeElement sourceShapeElement , DslDiagrams :: ShapeElement targetShapeElement , DslDiagrams :: PaintFeedbackArgs paintFeedbackArgs ) { if ( sourceShapeElement == null ) throw new global :: System . ArgumentNullException ( " " ) ; if ( targetShapeElement == null ) throw new global :: System . ArgumentNullException ( " " ) ; sourceShapeElement = RemovePassThroughShapes ( sourceShapeElement ) ; targetShapeElement = RemovePassThroughShapes ( targetShapeElement ) ; DslModeling :: ModelElement sourceElement = sourceShapeElement . ModelElement ; if ( sourceElement == null ) sourceElement = sourceShapeElement ; DslModeling :: ModelElement targetElement = targetShapeElement . ModelElement ; if ( targetElement == null ) targetElement = targetShapeElement ; AssociationBuilder . Connect ( sourceElement , targetElement ) ; }
Called by the base ConnectAction class to create the underlying relationship.
Called by the base ConnectAction class to create the underlying relationship .
sourceShapeElement
DslDiagrams::ShapeElement
targetShapeElement
DslDiagrams::ShapeElement
paintFeedbackArgs
DslDiagrams::PaintFeedbackArgs
remarks
This implementation delegates calls to the ConnectionBuilder AssociationBuilder.
This implementation delegates calls to the ConnectionBuilder AssociationBuilder .