mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 08:55:56 +08:00
* Fixed depreciated warning in MSSQL Manager
* Added support for user agents in the Userserver UserManager
This commit is contained in:
@@ -57,7 +57,7 @@ namespace OpenGrid.Framework.Data.MSSQL
|
||||
dbcommand.CommandText = sql;
|
||||
foreach (KeyValuePair<string, string> param in parameters)
|
||||
{
|
||||
dbcommand.Parameters.Add(param.Key, param.Value);
|
||||
dbcommand.Parameters.AddWithValue(param.Key, param.Value);
|
||||
}
|
||||
|
||||
return (IDbCommand)dbcommand;
|
||||
|
||||
Reference in New Issue
Block a user