tags:

views:

8

answers:

1

How do I use the schema clause on a bag object in Nhibernate mapping? I have an table that I need to sepcify the schema for and the nhibernate documentation talks about table schema but I can't find any further details...

+1  A: 

It's an attribute you put on the <class> element when you define it. So whatever the class is you're using in the bag, go to its mapping and add schema="whatever".

David M