c# - db4o SODA compare field values -


 class someclass {   private datetime fielda;   private datetime fieldb; } 

using soda, proper way select objects fielda greater fieldb?

something this?

 var query = this.objectcontainer.query(); query.constrain(typeof(someclass)); query.descend("fielda").constrain(query.descend("fieldb")).greater(); var list = query.execute(); 

you mean how express query following (sql)

select * sometable fielda > fieldb 

in soda, right?

i afraid not possible (at least not without using evaluation or native query - which, in case, run evaluation anyway).

best


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -