Converting SQL query to LINQ to Entities Lambda Expression

后端 未结 1 405
借酒劲吻你
借酒劲吻你 2021-01-27 16:13

I want to convert it into entity framework Lambda Expression, but i\'m not getting proper syntax...

What will be the Entity Framework Lambda Expression of this SQL query

1条回答
  •  离开以前
    2021-01-27 16:37

    You could try this:

    entities.table1.Where(x=>x.Date>(new DateTime(2014,1,4))).Max(x=>x.Number)
    

    0 讨论(0)
提交回复
热议问题