Enterprise library data access and connectionstring

A

Arjen

Hi,

I'm using the data access code block from the enterprise library inside an
asp.net 2.0 webapplication.
This application also uses the MembershipProvider. This one is using a
connectionStrings.
Now I have to declare two connection strings, one for the membership and one
for the code block.

For the membership I use "AttachDBFilename", for the MembershipProvider I
first have to attache the database.
(We are talking about the same database, there are only two connection
strings)

- Is there a way to use one for all?

- Can I use "AttachDBFilename" with the data access block?

- Is "AttachDBFilename" slower then attaching the database?

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,995
Messages
2,570,230
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top