Use the table attribute. <class name="classname" table="table$name"> -----Original Message----- From: Walter Johnson <[email protected]> Date: Wed, 16 Jun 2010 12:16:05 To: nhusers<[email protected]> Subject: [nhusers] using the '$'
In our central db we have named our table objects with a '$'. For example "OurCompany$Item" . In building the POCOs and the mappings in the xml configs I run into mapping problems because you can't use '$' in the class name in C#. How do I map a table that has '$' in the name? I am new to NHibernate and I am building my first application using this ORM. I have it configured fine (all config unit tests pass) -- 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. -- 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.
