Expert |
|
Joined: Fri Oct 28, 2005 5:38 pm Posts: 390 Location: Cedarburg, WI
|
I need to programmatically access the "table" attribute for a given mapped class, in order to provide a generic "assigned" key generator. The key generator has to work this way for legacy reasons :(
Looking at the NHibernate API documentation, the session factory has a method called GetClassMetadata, which returns NHibernate.Metadata.IClassMetadata. Unfortunately, I don't see a property for the table attribute.
Is there any way to get this value through the API (or even the raw XML for the class mapping?)
|
|