Menu

How to retrive the last record using orm.net

Maya
2006-09-13
2013-03-22
  • Maya

    Maya - 2006-09-13

    Hi,

    Is it possible to retrive the last record using orm.net.if yes can any one send me the sample code.

    thank,
    maya

     
    • David Parslow

      David Parslow - 2006-09-19

      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?

       
    • R_Kurtz

      R_Kurtz - 2006-09-23

      Yes what David said - use a stored procedure to grab exactly what you want.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.