Skip to content

Commit

Permalink
Merge pull request #240 from pengweiqhca/virtaul
Browse files Browse the repository at this point in the history
Add virtual.
  • Loading branch information
phnx47 committed Nov 21, 2022
2 parents 2ad158b + 450d2a2 commit 4f32c4b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/MicroOrm.Dapper.Repositories/SqlGenerator/SqlQuery.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System.Text;
using System.Text;

namespace MicroOrm.Dapper.Repositories.SqlGenerator
{
Expand Down Expand Up @@ -39,7 +39,7 @@ public SqlQuery(object param)
/// <summary>
/// Gets the SQL.
/// </summary>
public string GetSql()
public virtual string GetSql()
{
return SqlBuilder.ToString().Trim();
}
Expand All @@ -48,7 +48,7 @@ public string GetSql()
/// Set alternative param
/// </summary>
/// <param name="param">The param.</param>
public void SetParam(object param)
public virtual void SetParam(object param)
{
Param = param;
}
Expand Down

0 comments on commit 4f32c4b

Please sign in to comment.