class SomeClass { private DateTime fieldA; private DateTime fieldB; }
Using SODA, what is the proper way to select all objects whose fieldA is greater than fieldB?
Something like this?
var query = this.ObjectContainer.Query(); query.Constrain(typeof(SomeClass)); query.Descend("fieldA").Constrain(query.Descend("fieldB")).Greater(); var list = query.Execute();