Skip to content

Commit 543e2cb

Browse files
committed
- fix spelling of IQueryParameter
1 parent fe0c8ff commit 543e2cb

5 files changed

Lines changed: 14 additions & 14 deletions

File tree

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
namespace Shuttle.Core.Data
2+
{
3+
public interface IQueryParameter : IQuery
4+
{
5+
IQueryParameter AddParameterValue(IMappedColumn column, object value);
6+
}
7+
}

Shuttle.Core.Data/IQueryParemeter.cs

Lines changed: 0 additions & 7 deletions
This file was deleted.

Shuttle.Core.Data/ProcedureQuery.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Shuttle.Core.Data
66
{
7-
public class ProcedureQuery : IQueryParemeter
7+
public class ProcedureQuery : IQueryParameter
88
{
99
private readonly Dictionary<IMappedColumn, object> _parameterValues;
1010
private readonly string _procedure;
@@ -28,14 +28,14 @@ public void Prepare(IDbCommand command)
2828
}
2929
}
3030

31-
public IQueryParemeter AddParameterValue(IMappedColumn column, object value)
31+
public IQueryParameter AddParameterValue(IMappedColumn column, object value)
3232
{
3333
_parameterValues.Add(column, value);
3434

3535
return this;
3636
}
3737

38-
public static IQueryParemeter Create(string procedure)
38+
public static IQueryParameter Create(string procedure)
3939
{
4040
return new ProcedureQuery(procedure);
4141
}

Shuttle.Core.Data/RawQuery.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace Shuttle.Core.Data
66
{
7-
public class RawQuery : IQueryParemeter
7+
public class RawQuery : IQueryParameter
88
{
99
private readonly Dictionary<IMappedColumn, object> _parameterValues;
1010
private readonly string sql;
@@ -28,14 +28,14 @@ public void Prepare(IDbCommand command)
2828
}
2929
}
3030

31-
public IQueryParemeter AddParameterValue(IMappedColumn column, object value)
31+
public IQueryParameter AddParameterValue(IMappedColumn column, object value)
3232
{
3333
_parameterValues.Add(column, value);
3434

3535
return this;
3636
}
3737

38-
public static IQueryParemeter Create(string sql, params object[] args)
38+
public static IQueryParameter Create(string sql, params object[] args)
3939
{
4040
return new RawQuery(string.Format(sql, args));
4141
}

Shuttle.Core.Data/Shuttle.Core.Data.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
<ItemGroup>
7777
<Compile Include="ConnectionStringService.cs" />
7878
<Compile Include="IConfiguredDatabaseContextFactory.cs" />
79-
<Compile Include="IQueryParemeter.cs" />
79+
<Compile Include="IQueryParameter.cs" />
8080
<Compile Include="DatabaseContext.cs" />
8181
<Compile Include="ThreadStaticDatabaseContextCache.cs" />
8282
<Compile Include="DatabaseContextCollection.cs" />

0 commit comments

Comments
 (0)