Thanks for everyone,

I found a solution. I just added similar properties to the Instant time 
e.g. Instant.Utc, Instant.Local

So now I can use them in the IQueryable conditions:

var dueDate = new Instant(DateTime.UtcNow);
var result = ((IQueryable)myRepository).Where(x => x.DueDate.Utc <= dueDate.
Utc).ToList();

gives

select * from SomeTable where DueDateUtc <= @p0

And that is exactly what I wanted.

*SOLVED :-)*

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/nhusers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to