views:

40

answers:

0

I have a timestamp (rowversion) column (called t_stamp) in my tables. I use EF4 as my ORM. I see that the timestamp fields become byte[] properties on my objects.

I want to use LINQ something like this:

byte[] last = 0x00782342

from o in _db.Objects
where o.t_stamp > last
select o

But that doesn't work because I can't use > on a byte[].

What is the correct way to do this?