src/Misc/EFTools/EntityDesignEntityDesigner/CustomCode/Diagram/DSLDesignerNavigationHelper.cs
/// <summary>
///     Given an item binding, return the target of the binding if it is mapped to something in c-space
/// </summary>
/// <param name="itemBinding"></param>
/// <returns></returns>
Given an item binding, return the target of the binding if it is mapped to something in c-space
Given an item binding return the target of the binding if it is mapped to something in c - space
private static EFObject GetCSpaceObjectFromBinding(ItemBinding itemBinding)
        {
            foreach (EFObject dep in itemBinding.ResolvedTargets)
            {
                var cModel = dep.RuntimeModelRoot() as ConceptualEntityModel;
                if (cModel != null)
                {
                    return dep;
                }
            }
            return null;
        }
private static EFObject GetCSpaceObjectFromBinding ( ItemBinding itemBinding ) { foreach ( EFObject dep in itemBinding . ResolvedTargets ) { var cModel = dep . RuntimeModelRoot ( ) as ConceptualEntityModel ; if ( cModel != null ) { return dep ; } } return null ; }
Given an item binding, return the target of the binding if it is mapped to something in c-space
Given an item binding return the target of the binding if it is mapped to something in c - space
None
itemBinding
ItemBinding
None