Esempio n. 1
0
        private static bool CheckAutoTarget(TableChainer source, TableChainer target)
        {
            // skip the non-mapped tables
            if (!target.HasNode)
            {
                return(false);
            }

            var link = DbMapping.GetLink(source.Node.SynonymOrThis.NodeID, target.Node.SynonymOrThis.NodeID);

            if (link == null ||
                !link.Intermediate.IsDefault)       // intermediate links are not allowed
            {
                return(false);
            }

            return(true);
        }