How to fetch the latest entry from the database table using LINQ (Asynchronous programming)

前端 未结 0 1004
忘了有多久
忘了有多久 2021-01-21 16:20

This is my current LINQ query to fetch the latest record from the table.

image = db.Images.ToList().OrderByDescending(e => e.ImageId).FirstOrDefault().ImagePat         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题