src/Misc/EFTools/EntityDesignModel/Mapping/MappingModel.cs
/// <summary>
///     Retrieve the root "mapping" node for current node.  If there is no root mapping node, this will return null.
/// </summary>
/// <returns></returns>
Retrieve the root "mapping" node for current node.  If there is no root mapping node, this will return null.
Retrieve the root " mapping " node for current node . If there is no root mapping node this will return null .
internal static MappingModel GetMappingRoot(EFElement node)
        {
            EFContainer currNode = node;
            MappingModel model = null;
            while (currNode != null)
            {
                model = currNode as MappingModel;
                if (model != null)
                {
                    break;
                }
                else
                {
                    currNode = currNode.Parent;
                }
            }
            return model;
        }
internal static MappingModel GetMappingRoot ( EFElement node ) { EFContainer currNode = node ; MappingModel model = null ; while ( currNode != null ) { model = currNode as MappingModel ; if ( model != null ) { break ; } else { currNode = currNode . Parent ; } } return model ; }
Retrieve the root "mapping" node for current node.
Retrieve the root " mapping " node for current node .
None
node
EFElement