KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I'm looking to retrieve the last row of a table by the table's ID column. What I am currently using works: var x = db.MyTable.OrderByDescending(d => d.ID).FirstOrDefault(); Is there any way to get the same result with more efficient speed?
Tags (comma-separated)
Save Edits
Cancel