Exemplo n.º 1
0
 public virtual void Test1()
 {
     NeoDatis.Odb.ODB     odb = Open("cyclic.neodatis");
     NeoDatis.Odb.Objects l   = odb.GetObjects(typeof(NeoDatis.Odb.Test.VO.Country.Country
                                                      ), true);
     NeoDatis.Odb.Test.VO.Country.Country country = (NeoDatis.Odb.Test.VO.Country.Country
                                                     )l.GetFirst();
     AssertEquals("Brasil", country.GetName());
     odb.Close();
 }
Exemplo n.º 2
0
 public override string ToString()
 {
     return(name + " - Country = " + (country != null ? country.GetName() : "null"));
 }