Visual Studio 2008, class library and Linq Classes

I

Ilyas

Hi all

I have created a web appication and class library using Visual Studio
2008

In the class library I have aadded a Linq to sql class and placed all
the northwind tables on the designer. Upon saving the .dbml file,
VS2008 creates an app.config

My questions are:

1)I thought class library's dont have app.configs?

2)I actually want my the connection string to be taken from the
web.config - how can I get the code to do this taking into account
that some of this code is autogenerated and I dont want to chnage the
autogenerated code?



Many thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top