src/Misc/EFTools/EntityDesignEntityDesigner/GeneratedCode/Connectors.cs
/// <summary>
/// Initialize the collection of decorators associated with this shape type.  This method also
/// creates shape fields for outer decorators, because these are not part of the shape fields collection
/// associated with the shape, so they must be created here rather than in InitializeShapeFields.
/// </summary>
Initialize the collection of decorators associated with this shape type.  This method also
creates shape fields for outer decorators, because these are not part of the shape fields collection
associated with the shape, so they must be created here rather than in InitializeShapeFields.
Initialize the collection of decorators associated with this shape type . This method also creates shape fields for outer decorators because these are not part of the shape fields collection associated with the shape so they must be created here rather than in InitializeShapeFields .
protected override void InitializeDecorators(global::System.Collections.Generic.IList<DslDiagrams::ShapeField> shapeFields, global::System.Collections.Generic.IList<DslDiagrams::Decorator> decorators)
		{
			base.InitializeDecorators(shapeFields, decorators);
			DslDiagrams::TextField field1 = new DslDiagrams::TextField("SourceEndDisplayText");
			field1.DefaultText = global::Microsoft.Data.Entity.Design.EntityDesigner.MicrosoftDataEntityDesignDomainModel.SingletonResourceManager.GetString("AssociationConnectorSourceEndDisplayTextDefaultText");
			field1.DefaultFocusable = true;
			field1.DefaultAutoSize = true;
			field1.AnchoringBehavior.MinimumHeightInLines = 1;
			field1.AnchoringBehavior.MinimumWidthInCharacters = 1;
			field1.DefaultAccessibleState = global::System.Windows.Forms.AccessibleStates.Invisible;
			field1.DefaultFontId = new DslDiagrams::StyleSetResourceId(string.Empty, "ShapeTextBold8");			
			DslDiagrams::Decorator decorator1 = new DslDiagrams::ConnectorDecorator(field1, DslDiagrams::ConnectorDecoratorPosition.SourceBottom, DslDiagrams::PointD.Empty);
			decorators.Add(decorator1);
			DslDiagrams::TextField field2 = new DslDiagrams::TextField("TargetEndDisplayText");
			field2.DefaultText = global::Microsoft.Data.Entity.Design.EntityDesigner.MicrosoftDataEntityDesignDomainModel.SingletonResourceManager.GetString("AssociationConnectorTargetEndDisplayTextDefaultText");
			field2.DefaultFocusable = true;
			field2.DefaultAutoSize = true;
			field2.AnchoringBehavior.MinimumHeightInLines = 1;
			field2.AnchoringBehavior.MinimumWidthInCharacters = 1;
			field2.DefaultAccessibleState = global::System.Windows.Forms.AccessibleStates.Invisible;
			field2.DefaultFontId = new DslDiagrams::StyleSetResourceId(string.Empty, "ShapeTextBold8");			
			DslDiagrams::Decorator decorator2 = new DslDiagrams::ConnectorDecorator(field2, DslDiagrams::ConnectorDecoratorPosition.TargetBottom, DslDiagrams::PointD.Empty);
			decorators.Add(decorator2);
		}
protected override void InitializeDecorators ( global :: System . Collections . Generic . IList < DslDiagrams :: ShapeField > shapeFields , global :: System . Collections . Generic . IList < DslDiagrams :: Decorator > decorators ) { base . InitializeDecorators ( shapeFields , decorators ) ; DslDiagrams :: TextField field1 = new DslDiagrams :: TextField ( " " ) ; field1 . DefaultText = global :: Microsoft . Data . Entity . Design . EntityDesigner . MicrosoftDataEntityDesignDomainModel . SingletonResourceManager . GetString ( " " ) ; field1 . DefaultFocusable = true ; field1 . DefaultAutoSize = true ; field1 . AnchoringBehavior . MinimumHeightInLines = 1 ; field1 . AnchoringBehavior . MinimumWidthInCharacters = 1 ; field1 . DefaultAccessibleState = global :: System . Windows . Forms . AccessibleStates . Invisible ; field1 . DefaultFontId = new DslDiagrams :: StyleSetResourceId ( string . Empty , " " ) ; DslDiagrams :: Decorator decorator1 = new DslDiagrams :: ConnectorDecorator ( field1 , DslDiagrams :: ConnectorDecoratorPosition . SourceBottom , DslDiagrams :: PointD . Empty ) ; decorators . Add ( decorator1 ) ; DslDiagrams :: TextField field2 = new DslDiagrams :: TextField ( " " ) ; field2 . DefaultText = global :: Microsoft . Data . Entity . Design . EntityDesigner . MicrosoftDataEntityDesignDomainModel . SingletonResourceManager . GetString ( " " ) ; field2 . DefaultFocusable = true ; field2 . DefaultAutoSize = true ; field2 . AnchoringBehavior . MinimumHeightInLines = 1 ; field2 . AnchoringBehavior . MinimumWidthInCharacters = 1 ; field2 . DefaultAccessibleState = global :: System . Windows . Forms . AccessibleStates . Invisible ; field2 . DefaultFontId = new DslDiagrams :: StyleSetResourceId ( string . Empty , " " ) ; DslDiagrams :: Decorator decorator2 = new DslDiagrams :: ConnectorDecorator ( field2 , DslDiagrams :: ConnectorDecoratorPosition . TargetBottom , DslDiagrams :: PointD . Empty ) ; decorators . Add ( decorator2 ) ; }
Initialize the collection of decorators associated with this shape type.
Initialize the collection of decorators associated with this shape type .
shapeFields
global::System.Collections.Generic.IList<DslDiagrams::ShapeField>
decorators
global::System.Collections.Generic.IList<DslDiagrams::Decorator>