Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Commented Unassigned: Enable the WebSecurity.WebData project to allow for reusing database connections [1207]

$
0
0
Hi,

I am currently using the WebSecurity.WebData project to update the simple membership with users etc. The problem I am facing right now is that the WebSecurity class in the project currently just takes a connectionstring to the DB and makes it's own connection. This prevents me from making other changes to the DB inside the same transaction. I would like to have the ability to pass in the IDbConnection instead of passing in the connectionstring which is not flexible enough for my needs.

Thank You,
Vish
Comments: Peeking at the source code and am finding that a lot of methods create and dispose their own database connection. So, if i call one method after the other in the same request, 2 database connections are made and disposed :( and no way to have them both in the same transaction ... disappointing ...

Viewing all articles
Browse latest Browse all 7215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>