diff options
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/Utilities.cs')
-rw-r--r-- | projecttemplates/RelyingPartyLogic/Utilities.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/projecttemplates/RelyingPartyLogic/Utilities.cs b/projecttemplates/RelyingPartyLogic/Utilities.cs index 6552596..57a1baa 100644 --- a/projecttemplates/RelyingPartyLogic/Utilities.cs +++ b/projecttemplates/RelyingPartyLogic/Utilities.cs @@ -121,7 +121,7 @@ GO } DbConnection connection = (EntityConnection)objectContext.Connection; - bool opening = (connection.State == ConnectionState.Closed); + bool opening = connection.State == ConnectionState.Closed; if (opening) { connection.Open(); } |