aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenGrid.Framework.Data.MSSQL/MSSQLManager.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;