src/Misc/EFTools/XmlCore/Model/ModelManager.cs
/// <summary>
///     Asks every EFElement in the given EFArtifactSet to resolve references to other EFElements in the EFArtifactSet,
///     i.e., a ScalarProperty will link up to its entity and storage properties.
/// </summary>
Asks every EFElement in the given EFArtifactSet to resolve references to other EFElements in the EFArtifactSet,
i.e., a ScalarProperty will link up to its entity and storage properties.
Asks every EFElement in the given EFArtifactSet to resolve references to other EFElements in the EFArtifactSet i . e . a ScalarProperty will link up to its entity and storage properties .
private void ResolveArtifactSet(EFArtifactSet artifactSet)
        {
            lock (this)
            {
                var visitor = new ResolvingVisitor(artifactSet);
                var lastMissedCount = visitor.MissedCount;
                while (visitor.MissedCount != 0)
                {
                    visitor.ResetMissedCount();
                    foreach (var artifact in artifactSet.Artifacts)
                    {
                        visitor.Traverse(artifact);
                    }
                    if (lastMissedCount == visitor.MissedCount)
                    {
                        break;
                    }
                    lastMissedCount = visitor.MissedCount;
                }
            }
        }
private void ResolveArtifactSet ( EFArtifactSet artifactSet ) { lock ( this ) { var visitor = new ResolvingVisitor ( artifactSet ) ; var lastMissedCount = visitor . MissedCount ; while ( visitor . MissedCount != 0 ) { visitor . ResetMissedCount ( ) ; foreach ( var artifact in artifactSet . Artifacts ) { visitor . Traverse ( artifact ) ; } if ( lastMissedCount == visitor . MissedCount ) { break ; } lastMissedCount = visitor . MissedCount ; } } }
Asks every EFElement in the given EFArtifactSet to resolve references to other EFElements in the EFArtifactSet,
i.e., a ScalarProperty will link up to its entity and storage properties.
Asks every EFElement in the given EFArtifactSet to resolve references to other EFElements in the EFArtifactSet i . e . a ScalarProperty will link up to its entity and storage properties .
// if we can't resolve any more then we are done
artifactSet
EFArtifactSet