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

Commit a0e704f

Browse files
Make all ExecNonQuery overloads public
1 parent 4a6cad4 commit a0e704f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ServiceStack.OrmLite/OrmLiteResultsFilterExtensions.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public static class OrmLiteResultsFilterExtensions
1414
{
1515
private static readonly ILog Log = LogManager.GetLogger(typeof(OrmLiteResultsFilterExtensions));
1616

17-
internal static int ExecNonQuery(this IDbCommand dbCmd, string sql, object anonType = null)
17+
public static int ExecNonQuery(this IDbCommand dbCmd, string sql, object anonType = null)
1818
{
1919
if (anonType != null)
2020
dbCmd.SetParameters(anonType.ToObjectDictionary(), (bool)false);
@@ -32,7 +32,7 @@ internal static int ExecNonQuery(this IDbCommand dbCmd, string sql, object anonT
3232
return dbCmd.ExecuteNonQuery();
3333
}
3434

35-
internal static int ExecNonQuery(this IDbCommand dbCmd, string sql, Dictionary<string, object> dict)
35+
public static int ExecNonQuery(this IDbCommand dbCmd, string sql, Dictionary<string, object> dict)
3636
{
3737

3838
if (dict != null)
@@ -51,7 +51,7 @@ internal static int ExecNonQuery(this IDbCommand dbCmd, string sql, Dictionary<s
5151
return dbCmd.ExecuteNonQuery();
5252
}
5353

54-
internal static int ExecNonQuery(this IDbCommand dbCmd)
54+
public static int ExecNonQuery(this IDbCommand dbCmd)
5555
{
5656
if (Log.IsDebugEnabled)
5757
Log.DebugCommand(dbCmd);
@@ -381,4 +381,4 @@ internal static Dictionary<K, List<V>> Lookup<K, V>(this IDbCommand dbCmd, strin
381381
}
382382
}
383383
}
384-
}
384+
}

0 commit comments

Comments
 (0)