thanks, Querying looks promising.

________________________________

Fra: [email protected] [mailto:[email protected]] På vegne af 
James Gregory
Sendt: 27. maj 2009 11:05
Til: [email protected]
Emne: [nhusers] Re: criteria "not in"


If you're not familiar with them already, then you should really start at the 
documentation <http://www.nhforge.org/doc/nh/en/index.html> . Specifically 
Querying 
<http://www.nhforge.org/doc/nh/en/index.html#manipulatingdata-querying> .


On Wed, May 27, 2009 at 1:54 PM, Pilu <[email protected]> wrote:



        Hi
        
        I'm new to nhibernate (or the or-mapper world).
        
        In sql world i can do this:
        select * from table1 where id not in (select id from table 2)
        
        how to do this in nhibernate? i can see theres something called
        ICriteria and Restrictions, but i don't know how to use it.
        
        any tips would be appreciated :-)
        
        thanx
        
        
        






--~--~---------~--~----~------------~-------~--~----~
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