File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ namespace Shuttle . Core . Data
2+ {
3+ public interface IQueryParameter : IQuery
4+ {
5+ IQueryParameter AddParameterValue ( IMappedColumn column , object value ) ;
6+ }
7+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 44
55namespace 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 }
Original file line number Diff line number Diff line change 44
55namespace 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 }
Original file line number Diff line number Diff line change 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" />
You can’t perform that action at this time.
0 commit comments