Example #1
0
 /// <exception cref="System.Exception"></exception>
 public virtual void Test12()
 {
     NeoDatis.Odb.ODB odb = null;
     try
     {
         odb = Open("t-school.neodatis");
         NeoDatis.Odb.Core.Layers.Layer2.Meta.ClassInfo ci = NeoDatis.Odb.Impl.Core.Layers.Layer3.Engine.Dummy
                                                             .GetEngine(odb).GetSession(true).GetMetaModel().GetClassInfo(typeof(Student
                                                                                                                                 ).FullName, true);
         AssertFalse(ci.HasCyclicReference());
     }
     finally
     {
         if (odb != null)
         {
             odb.Close();
         }
     }
 }