Ok, many thanks!!
  ----- Original Message ----- 
  From: Tuna Toksoz 
  To: [email protected] 
  Sent: Friday, July 31, 2009 3:44 PM
  Subject: [nhusers] Re: Select top n (MSSQL, ORACLE)


  .CreateQuery("from Entity e").SetMaxResults(10)


  filter them in database not in memory.

  Tuna Toksöz
  Eternal sunshine of the open source mind.

  http://devlicio.us/blogs/tuna_toksoz
  http://tunatoksoz.com
  http://twitter.com/tehlike





  On Sat, Aug 1, 2009 at 12:31 AM, Cesar Sanz <[email protected]> wrote:

    Ok thanks,

    Can I use it with HQL??

    Will this extract the "n" items from database or just retrieve all and 
    truncate them in memory??
      ----- Original Message ----- 
      From: Tuna Toksoz 
      To: [email protected] 
      Sent: Friday, July 31, 2009 3:25 PM
      Subject: [nhusers] Re: Select top n (MSSQL, ORACLE)


      .SetMaxResult(10)

      Tuna Toksöz
      Eternal sunshine of the open source mind.

      http://devlicio.us/blogs/tuna_toksoz
      http://tunatoksoz.com
      http://twitter.com/tehlike





      On Sat, Aug 1, 2009 at 12:20 AM, spiralni <[email protected]> 
wrote:

        abstraction







  

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to