I have a table with timestamp column (RowId
) in my SQL Server database.
I want to query new rows according to this timestamp. The SQL query is following
SELECT *
FROM [MyTable]
where RowId>=0x0000000000A99B06
0x0000000000A99B06
is a max timestamp value from the previous query.
How can I make such a query using Entity Framework database-first? RowId
maps to byte[]
property and I have no idea how to compare byte arrays in a LINQ query.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…