LINQ to SQL Connection Strings with class library projects
By default, creating a new LINQ to SQL model (.dbml) will put the connection strings in both the application settings file and also web.config / app.config. This is not so much of a problem for web projects, but what about class library projects? i have a connection class where I can use it to check connection in all pages but I have an error where it cant read DataContext at all.
This is a photo that shows my problem.
