linq to sql - Use appsettings connectionstring instead of connectionStrings in web config for datacontext designer -


I need to use appsettings / key for my connection string in a web project, and it needs to be re- Want to use datacentax string in connection to designer, but it seems that I have web Because of connection connections are connected, so I have to keep my DB location in two places in the web, how can I use the designer (DBML) instead of appetizing?

You can pass the connection string to the dataconstruction constructor.

So you get it from your place and pass it in the ostrator.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -