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(); }
public override string ToString() { return(name + " - Country = " + (country != null ? country.GetName() : "null")); }