src/Misc/EFTools/EntityDesignModel/ModelHelper.cs
/// <summary>
///     This method gets all the Anti-Deps of type T of the passed in EFObject, and then
///     looks to see if those anti-deps are part of a mapping ghost node.
/// </summary>
/// <typeparam name="T">Must be an EFElement or derived type.</typeparam>
/// <param name="obj">The object for which we are checking anti-deps</param>
/// <returns>True if it found a ghost node</returns>
This method gets all the Anti-Deps of type T of the passed in EFObject, and then
looks to see if those anti-deps are part of a mapping ghost node.
This method gets all the Anti - Deps of type T of the passed in EFObject and then looks to see if those anti - deps are part of a mapping ghost node .
internal static bool IsAntiDepPartOfGhostMappingNode<T>(EFObject obj) where T : EFElement
        {
            foreach (EFObject antiDep in obj.GetAntiDependenciesOfType<T>())
            {
                if (IsPartOfGhostMappingNode(antiDep))
                {
                    return true;
                }
            }
            return false;
        }
internal static bool IsAntiDepPartOfGhostMappingNode < T > ( EFObject obj ) where T : EFElement { foreach ( EFObject antiDep in obj . GetAntiDependenciesOfType < T > ( ) ) { if ( IsPartOfGhostMappingNode ( antiDep ) ) { return true ; } } return false ; }
This method gets all the Anti-Deps of type T of the passed in EFObject, and then
looks to see if those anti-deps are part of a mapping ghost node.
This method gets all the Anti - Deps of type T of the passed in EFObject and then looks to see if those anti - deps are part of a mapping ghost node .
True if it found a ghost node
True if it found a ghost node
obj
EFObject
The object for which we are checking anti-deps
The object for which we are checking anti - deps
typeparam
Must be an EFElement or derived type.
Must be an EFElement or derived type .