aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGrid.Framework.Data.MSSQL/MSSQLManager.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-05-20 14:38:25 +0000
committerAdam Frisby2007-05-20 14:38:25 +0000
commit60639337bd92fbcd38c42088febc9832e57d19e3 (patch)
treea6ac3fec3a8b0830c65aaeca60579777db41e858 /OpenGrid.Framework.Data.MSSQL/MSSQLManager.cs
parentSmall fix (2/2) (diff)
downloadopensim-SC_OLD-60639337bd92fbcd38c42088febc9832e57d19e3.zip
opensim-SC_OLD-60639337bd92fbcd38c42088febc9832e57d19e3.tar.gz
opensim-SC_OLD-60639337bd92fbcd38c42088febc9832e57d19e3.tar.bz2
opensim-SC_OLD-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/MSSQLManager.cs')
-rw-r--r--OpenGrid.Framework.Data.MSSQL/MSSQLManager.cs2
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;