src/Misc/EFTools/XmlCore/Model/ModelManager.cs
/// <summary>
///     Asks the passed in item and all its children to resolve references to other
///     EFElements across the entire model, i.e., a ScalarProperty will link up to its
///     entity and storage properties.
/// </summary>
Asks the passed in item and all its children to resolve references to other
EFElements across the entire model, i.e., a ScalarProperty will link up to its
entity and storage properties.
Asks the passed in item and all its children to resolve references to other EFElements across the entire model i . e . a ScalarProperty will link up to its entity and storage properties .
internal void ResolveItem(EFContainer item)
        {
            lock (this)
            {
                var visitor = new ResolvingVisitor(item.Artifact.ArtifactSet);
                var lastMissedCount = visitor.MissedCount;
                while (visitor.MissedCount != 0)
                {
                    visitor.ResetMissedCount();
                    visitor.Traverse(item);
                    if (lastMissedCount == visitor.MissedCount)
                    {
                        break;
                    }
                    lastMissedCount = visitor.MissedCount;
                }
            }
        }
internal void ResolveItem ( EFContainer item ) { lock ( this ) { var visitor = new ResolvingVisitor ( item . Artifact . ArtifactSet ) ; var lastMissedCount = visitor . MissedCount ; while ( visitor . MissedCount != 0 ) { visitor . ResetMissedCount ( ) ; visitor . Traverse ( item ) ; if ( lastMissedCount == visitor . MissedCount ) { break ; } lastMissedCount = visitor . MissedCount ; } } }
Asks the passed in item and all its children to resolve references to other
EFElements across the entire model, i.e., a ScalarProperty will link up to its
entity and storage properties.
Asks the passed in item and all its children to resolve references to other EFElements across the entire model i . e . a ScalarProperty will link up to its entity and storage properties .
// if we can't resolve any more then we are done
item
EFContainer