Hi,
we are useing linq connect in multiple projects and dll's. For the dll's we'r createing the database models with the entity developer. But within the generated classes the connection string with username and password is written into the default constructors. There is the possibility to override the default constructor with a custom connectionstring but it would be very nice if we can set the name of a connection string looking for in the web.config.
I know it is possible because createing the models with the integrated entity developer within visual studio the connection strings are automatically inserted into the web.config.
How can I do this with models from Entity Developer?
Thank for Help
Set ConnectionString looking for
Re: Set ConnectionString looking for
As we understood, there should be an option in a standalone Entity Developer to set only the name of a connection string in the constructor of DataContext. And you will add the corresponding connection string into the *.config file of your application manually afterwards. Is this correct?lc4pro wrote:it would be very nice if we can set the name of a connection string looking for in the web.config
Re: Set ConnectionString looking for
Starting from the next build of Entity Developer, the behaviour will be changed: the "Save connection string in App.Config as" option will be available in a standalone Entity Developer (the entry to App.Config must be added manually afterwards). We will post here when the corresponding build of Entity Developer is available for download.
Re: Set ConnectionString looking for
Fantastic!
Your support is great!!
Your support is great!!
Re: Set ConnectionString looking for
New version of Entity Developer 4.7 is released!
It can be downloaded from http://www.devart.com/entitydeveloper/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=32&t=25013.
It can be downloaded from http://www.devart.com/entitydeveloper/download.html (trial version) or from Registered Users' Area (for users with active subscription only).
For more information, please refer to http://forums.devart.com/viewtopic.php?f=32&t=25013.