Пример #1
0
        public void TestFindPreventDeleteRelationships()
        {
            //List<List<string>> listOfPaths;
            MatchList listOfPaths = DeleteHelper.FindPreventDeleteRelationships(_baseClassDef.RelationshipDefCol);
            //Assert.AreEqual(3, listOfPaths.Count, "There should be 3 prevent delete relationships found");
            string relationshipPath = listOfPaths.ToString(".");

            Assert.AreEqual("MyBO2.{MyBO3.MyBO4.{MyBO5.MyBO6.MyPreventBO7,MyPreventBO5},MyPreventBO3}", relationshipPath);
        }