diff options
author | Adam Frisby | 2007-05-20 14:38:25 +0000 |
---|---|---|
committer | Adam Frisby | 2007-05-20 14:38:25 +0000 |
commit | 60639337bd92fbcd38c42088febc9832e57d19e3 (patch) | |
tree | a6ac3fec3a8b0830c65aaeca60579777db41e858 /OpenGrid.Framework.Data.MSSQL | |
parent | Small fix (2/2) (diff) | |
download | opensim-SC-60639337bd92fbcd38c42088febc9832e57d19e3.zip opensim-SC-60639337bd92fbcd38c42088febc9832e57d19e3.tar.gz opensim-SC-60639337bd92fbcd38c42088febc9832e57d19e3.tar.bz2 opensim-SC-60639337bd92fbcd38c42088febc9832e57d19e3.tar.xz |
* Fixed depreciated warning in MSSQL Manager
* Added support for user agents in the Userserver UserManager
Diffstat (limited to 'OpenGrid.Framework.Data.MSSQL')
-rw-r--r-- | OpenGrid.Framework.Data.MSSQL/MSSQLManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenGrid.Framework.Data.MSSQL/MSSQLManager.cs b/OpenGrid.Framework.Data.MSSQL/MSSQLManager.cs index 5606c4c..12c166c 100644 --- a/OpenGrid.Framework.Data.MSSQL/MSSQLManager.cs +++ b/OpenGrid.Framework.Data.MSSQL/MSSQLManager.cs | |||
@@ -57,7 +57,7 @@ namespace OpenGrid.Framework.Data.MSSQL | |||
57 | dbcommand.CommandText = sql; | 57 | dbcommand.CommandText = sql; |
58 | foreach (KeyValuePair<string, string> param in parameters) | 58 | foreach (KeyValuePair<string, string> param in parameters) |
59 | { | 59 | { |
60 | dbcommand.Parameters.Add(param.Key, param.Value); | 60 | dbcommand.Parameters.AddWithValue(param.Key, param.Value); |
61 | } | 61 | } |
62 | 62 | ||
63 | return (IDbCommand)dbcommand; | 63 | return (IDbCommand)dbcommand; |