What do you mean by last record? Just the last record? Do you mean the top 1 result sorted by the integer autoincrement primary key descending.
What is the use-case senario arround this?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Is it possible to retrive the last record using orm.net.if yes can any one send me the sample code.
thank,
maya
What do you mean by last record? Just the last record? Do you mean the top 1 result sorted by the integer autoincrement primary key descending.
What is the use-case senario arround this?
Yes what David said - use a stored procedure to grab exactly what you want.