Skip to content

Loading…

Exposing the ExecuteSql function #43

Merged
merged 1 commit into from

2 participants

@parnham

A simple helper function that is used internally but would be useful as a public extension.

I did not add any tests since that function is already well tested due to all of the write extensions using it.

@mythz mythz merged commit 7d88bba into ServiceStack:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 16, 2012
  1. @parnham
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ServiceStack.OrmLite/OrmLiteWriteExtensions.cs
View
2 src/ServiceStack.OrmLite/OrmLiteWriteExtensions.cs
@@ -143,7 +143,7 @@ private static void DropTable(IDbCommand dbCmd, ModelDefinition modelDef)
}
}
- internal static int ExecuteSql(this IDbCommand dbCmd, string sql)
+ public static int ExecuteSql(this IDbCommand dbCmd, string sql)
{
LogDebug(sql);
Something went wrong with that request. Please try again.