More work on parameterized queries, all tests for repos passing now.

This commit is contained in:
Shannon
2014-09-24 16:59:45 +10:00
parent 2c12b06bd7
commit afacdc12ad
6 changed files with 118 additions and 73 deletions

View File

@@ -42,7 +42,7 @@ namespace Umbraco.Core.Persistence.Querying
object o = getter();
SqlParameters.Add(o);
return string.Format("(@{0})", SqlParameters.Count - 1);
return string.Format("@{0}", SqlParameters.Count - 1);
//return GetQuotedValue(o, o != null ? o.GetType() : null);