Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 4a6cad4

Browse files
committed
Make all methods on OrmLiteExecFilter virtual
1 parent 241f3d0 commit 4a6cad4

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/ServiceStack.OrmLite.SqlServer/ServiceStack.OrmLite.SqlServer.Signed.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@
110110
<Compile Include="SqlServerExpression.cs" />
111111
<Compile Include="Properties\AssemblyInfo.cs" />
112112
<Compile Include="SqlServerOrmLiteDialectProvider.cs" />
113+
<Compile Include="SqlServerTableHint.cs" />
113114
</ItemGroup>
114115
<ItemGroup>
115116
<ProjectReference Include="..\ServiceStack.OrmLite\ServiceStack.OrmLite.csproj">

src/ServiceStack.OrmLite/OrmLiteExecFilter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public virtual T Exec<T>(IDbConnection dbConn, Func<IDbCommand, T> filter)
7474
}
7575
}
7676

77-
public IDbCommand Exec(IDbConnection dbConn, Func<IDbCommand, IDbCommand> filter)
77+
public virtual IDbCommand Exec(IDbConnection dbConn, Func<IDbCommand, IDbCommand> filter)
7878
{
7979
var dbCmd = CreateCommand(dbConn);
8080
var ret = filter(dbCmd);
@@ -117,7 +117,7 @@ public virtual Task<T> Exec<T>(IDbConnection dbConn, Func<IDbCommand, Task<T>> f
117117
});
118118
}
119119

120-
public Task<IDbCommand> Exec(IDbConnection dbConn, Func<IDbCommand, Task<IDbCommand>> filter)
120+
public virtual Task<IDbCommand> Exec(IDbConnection dbConn, Func<IDbCommand, Task<IDbCommand>> filter)
121121
{
122122
var dbCmd = CreateCommand(dbConn);
123123

0 commit comments

Comments
 (0)