src/Misc/EFTools/EntityDesignEntityDesigner/CustomCode/SerializationHelper/MicrosoftDataEntityDesignSerializationHelper.cs
/// <summary>
///     Helper method to create and initialize a new EntityDesignerDiagram.
/// </summary>
Helper method to create and initialize a new EntityDesignerDiagram.
Helper method to create and initialize a new EntityDesignerDiagram .
[SuppressMessage("Microsoft.Reliability", "CA2000:Dispose objects before losing scope")]
        internal override EntityDesignerDiagram CreateDiagramHelper(Partition diagramPartition, ModelElement modelRoot)
        {
            var evm = modelRoot as EntityDesignerViewModel;
            var diagram = new EntityDesignerDiagram(diagramPartition);
            diagram.ModelElement = evm;
            return diagram;
        }
[ SuppressMessage ( " " , " " ) ] internal override EntityDesignerDiagram CreateDiagramHelper ( Partition diagramPartition , ModelElement modelRoot ) { var evm = modelRoot as EntityDesignerViewModel ; var diagram = new EntityDesignerDiagram ( diagramPartition ) ; diagram . ModelElement = evm ; return diagram ; }
Helper method to create and initialize a new EntityDesignerDiagram.
Helper method to create and initialize a new EntityDesignerDiagram .
diagramPartition
Partition
modelRoot
ModelElement