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

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top