diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2009-12-16 23:01:24 -0800 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2009-12-16 23:01:24 -0800 |
commit | 82e588d5309012b0fc729b205f9c0d17d1347fdd (patch) | |
tree | 138f91138e3151e373ac8ae9f852a40ecfe0ec24 /projecttemplates/RelyingPartyLogic/Utilities.cs | |
parent | 5293721eabaa66854d9f66871ef5e9df727e5553 (diff) | |
download | DotNetOpenAuth-82e588d5309012b0fc729b205f9c0d17d1347fdd.zip DotNetOpenAuth-82e588d5309012b0fc729b205f9c0d17d1347fdd.tar.gz DotNetOpenAuth-82e588d5309012b0fc729b205f9c0d17d1347fdd.tar.bz2 |
Fixed stored proc execution that is missing a contextual transaction, leading to runtime errors.
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/Utilities.cs')
-rw-r--r-- | projecttemplates/RelyingPartyLogic/Utilities.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/projecttemplates/RelyingPartyLogic/Utilities.cs b/projecttemplates/RelyingPartyLogic/Utilities.cs index 7a8f31b..bbcfc68 100644 --- a/projecttemplates/RelyingPartyLogic/Utilities.cs +++ b/projecttemplates/RelyingPartyLogic/Utilities.cs @@ -110,6 +110,7 @@ GO } DbCommand cmd = connection.CreateCommand(); + cmd.Transaction = (DbTransaction)Database.DataContextTransaction; cmd.CommandText = command; cmd.CommandType = CommandType.StoredProcedure; try { |