Beispiel #1
0
        internal MatchDomainT EnforceT(CheckResultSuperAttributeToColumn checkresult, LL.MDE.DataModels.SimpleRDBMS.Table t)
        {
            MatchDomainT match = new MatchDomainT(); LL.MDE.DataModels.SimpleUML.Class c = checkresult.matchDomainC.c;

            LL.MDE.DataModels.SimpleUML.Class sc = checkresult.matchDomainC.sc;

            // Contructing t

            // Return newly binded variables
            match.t = t;
            return(match);
        }
Beispiel #2
0
        internal static ISet <CheckResultSuperAttributeToColumn> Check(LL.MDE.DataModels.SimpleUML.Class c, string prefix)
        {
            ISet <CheckResultSuperAttributeToColumn> result = new HashSet <CheckResultSuperAttributeToColumn>(); ISet <MatchDomainC> matchDomainCs = CheckDomainC(c);

            foreach (MatchDomainC matchDomainC in matchDomainCs)
            {
                LL.MDE.DataModels.SimpleUML.Class sc = matchDomainC.sc;

                CheckResultSuperAttributeToColumn checkonlysMatch = new CheckResultSuperAttributeToColumn()
                {
                    matchDomainC = matchDomainC,
                };
                result.Add(checkonlysMatch);
            }                                                             // End foreach
            return(result);
        }