Exemple #1
0
 /// <summary>
 /// Most connectors are mapped to element links, but there can be exceptions. This method tell if a connector should be
 /// mapped to an element link.
 /// </summary>
 public override bool IsConnectorMappedToLink(DslDiagrams::BinaryLinkShape connector)
 {
     #region Check Parameters
     global::System.Diagnostics.Debug.Assert(connector != null);
     if (connector == null)
     {
         throw new global::System.ArgumentNullException("connector");
     }
     #endregion
     if (connector.GetType() == typeof(global::imbNLP.PipelineDSLD.Forward))
     {
         return(false);
     }
     return(base.IsConnectorMappedToLink(connector));
 }
 /// <summary>
 /// Most connectors are mapped to element links, but there can be exceptions. This method tell if a connector should be
 /// mapped to an element link.
 /// </summary>
 public override bool IsConnectorMappedToLink(DslDiagrams::BinaryLinkShape connector)
 {
     #region Check Parameters
     global::System.Diagnostics.Debug.Assert(connector != null);
     if (connector == null)
     {
         throw new global::System.ArgumentNullException("connector");
     }
     #endregion
     if (connector.GetType() == typeof(global::ORMSolutions.ORMArchitect.Views.RelationalView.ForeignKeyConnector))
     {
         return(false);
     }
     return(base.IsConnectorMappedToLink(connector));
 }