public virtual void TestIntLongCriteriaQuery() { DeleteBase(BaseName); NeoDatis.Odb.ODB odb = Open(BaseName); NeoDatis.Odb.Test.Query.Criteria.ClassWithInt cwi = new NeoDatis.Odb.Test.Query.Criteria.ClassWithInt (1, "test"); odb.Store(cwi); odb.Close(); odb = Open(BaseName); NeoDatis.Odb.Objects<ClassWithInt> os = odb.GetObjects<ClassWithInt>(new NeoDatis.Odb.Impl.Core.Query.Criteria.CriteriaQuery (NeoDatis.Odb.Core.Query.Criteria.Where .Equal("i", (long)1))); AssertEquals(1, os.Count); odb.Close(); }