public virtual void TestLongIntCriteriaQuery() { string baseName = GetBaseName(); NeoDatis.Odb.ODB odb = Open(baseName); ClassWithLong cwl = new ClassWithLong(1L, "test"); odb.Store(cwl); odb.Close(); odb = Open(baseName); Objects<ClassWithLong> os = odb.GetObjects<ClassWithLong>(new CriteriaQuery(Where.Equal("i", 1L))); AssertEquals(1, os.Count); odb.Close(); }
public virtual void TestLongIntCriteriaQuery() { string baseName = GetBaseName(); NeoDatis.Odb.ODB odb = Open(baseName); ClassWithLong cwl = new ClassWithLong(1L, "test"); odb.Store(cwl); odb.Close(); odb = Open(baseName); Objects <ClassWithLong> os = odb.GetObjects <ClassWithLong>(new CriteriaQuery(Where.Equal("i", 1L))); AssertEquals(1, os.Count); odb.Close(); }