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 ...
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 ...