SqlException: Invalid object name ‘dbo.sometableName’
Actual name: ‘foo.sometableName’
Mappings for table schema and table names are in the view:
NHibernate: Let users update/modify .hbm.xml file. That’s just too much work to have users set that up on installation.
Manual SQL: Create a class that will hunt down the schema of a table from the view. This just seems ridiculous!
Any ideas to dynamically find the schema of a table?