Message 1 of 3
Specifying .config file with entity framework
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, I am using entity framework code first approach to write/read to a database from autocad.net. I have a solution whereby I am adding the database connection string to the acad.exe.config file contained in autocad root in Program files. This is not really an elegant solution and is causing me issues with access. Is there a way I can point my DBContext derived class to a .config residing inside the plugin rather than acad.exe.config?