Beispiel #1
0
 public override string WhereRule()
 {
     if (RelatedObjects.Count(r => r.GetType() == RelatingObject.GetType()) != RelatedObjects.Count)
     {
         return
             ("WR1 RelNests : The type of the RelatingObject shall always be the same as the type of each RelatedObject, i.e. the RelatingObject and all RelatedObject's are of the same type.\n");
     }
     else
     {
         return("");
     }
 }