Hi Everyone,

I'm creating a small application that connects to a SQL database and
passes some values to another application.
The problem is that the name of the SQL table that i have to map, can
change, so therefore i'm looking for a way to use a variable in this
part of the mapping document:

My mapping file looks like this
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" auto-
import="true" namespace="TheSyncTool">
  <class name="SalesHeader, TheSyncTool" table="[CompanyA$Sales
Header]" lazy="false" dynamic-update="true">

The prefix of the tablename "CompanyA" is what i want to be
configurable. Is there a way to do such a thing?
Otherwise i have to compile the project with a modified mapping file
everytime a client creates a new company in the database.

Thanks for your help!
Best regards, Tys

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