jonpryor / dblinq2007

Automatically exported from code.google.com/p/dblinq2007
0 stars 0 forks source link

Choose DB while Runtime #282

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Situation: A development and a production machine, both different DB names,
so the configured ConnectionString in my cpplication contains different 
Database names. But as dblinq creates hardcoded database names like
[Table(Name = "databasex.tablez")], it ignores the database name in the 
connection string.

I think it would be good to remove the database name from the table class 
attributes and take the one from the connection(string) passed in the 
constructor

Original issue reported on code.google.com by nilshueg...@googlemail.com on 4 Sep 2010 at 11:55