Phil Whittaker
Phil Whittaker

Reputation: 434

Nhibernate schema clause

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

Upvotes: 1

Views: 107

Answers (1)

David M
David M

Reputation: 72930

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".

Upvotes: 1

Related Questions