diff --git a/Shuttle.Core.Data/ProcedureQuery.cs b/Shuttle.Core.Data/ProcedureQuery.cs index 39aefab..5da2be3 100644 --- a/Shuttle.Core.Data/ProcedureQuery.cs +++ b/Shuttle.Core.Data/ProcedureQuery.cs @@ -35,7 +35,7 @@ public IQuery AddParameterValue(IMappedColumn column, object value) return this; } - public static IQuery Create(string procedure) + public static IQueryParemeter Create(string procedure) { return new ProcedureQuery(procedure); } diff --git a/Shuttle.Core.Data/Properties/AssemblyInfo.cs b/Shuttle.Core.Data/Properties/AssemblyInfo.cs index 19363a7..180ed01 100644 --- a/Shuttle.Core.Data/Properties/AssemblyInfo.cs +++ b/Shuttle.Core.Data/Properties/AssemblyInfo.cs @@ -13,10 +13,10 @@ [assembly: AssemblyTitle("Shuttle.Core.Data for .NET Framework 4.5.1")] #endif -[assembly: AssemblyVersion("3.2.3.0")] +[assembly: AssemblyVersion("3.2.4.0")] [assembly: AssemblyCopyright("Copyright © Eben Roux 2010-2014")] [assembly: AssemblyProduct("Shuttle.Core")] [assembly: AssemblyCompany("Shuttle")] [assembly: AssemblyConfiguration("Release")] -[assembly: AssemblyInformationalVersion("3.2.3")] +[assembly: AssemblyInformationalVersion("3.2.4")] [assembly: ComVisible(false)] diff --git a/Shuttle.Core.Data/RawQuery.cs b/Shuttle.Core.Data/RawQuery.cs index b800d0c..02e29f7 100644 --- a/Shuttle.Core.Data/RawQuery.cs +++ b/Shuttle.Core.Data/RawQuery.cs @@ -6,13 +6,13 @@ namespace Shuttle.Core.Data { public class RawQuery : IQueryParemeter { - private readonly Dictionary parameterValues; + private readonly Dictionary _parameterValues; private readonly string sql; public RawQuery(string sql) { this.sql = sql; - parameterValues = new Dictionary(); + _parameterValues = new Dictionary(); } public void Prepare(IDbCommand command) @@ -22,7 +22,7 @@ public void Prepare(IDbCommand command) command.CommandText = sql; command.CommandType = CommandType.Text; - foreach (var pair in parameterValues) + foreach (var pair in _parameterValues) { command.Parameters.Add(pair.Key.CreateDataParameter(command, pair.Value)); } @@ -30,12 +30,12 @@ public void Prepare(IDbCommand command) public IQuery AddParameterValue(IMappedColumn column, object value) { - parameterValues.Add(column, value); + _parameterValues.Add(column, value); return this; } - public static IQuery Create(string sql, params object[] args) + public static IQueryParemeter Create(string sql, params object[] args) { return new RawQuery(string.Format(sql, args)); }