Commit 1fb6694f authored by Nick Craver's avatar Nick Craver

Fix for TestCustomParams

parent 654800b6
......@@ -1313,9 +1313,11 @@ public static T ExecuteScalar<T>(this IDbConnection cnn, CommandDefinition comma
private static IEnumerable GetMultiExec(object param)
{
return (param is IEnumerable
&& !(param is string || param is IEnumerable<KeyValuePair<string, object>>
)) ? (IEnumerable)param : null;
return (param is IEnumerable &&
!(param is string ||
param is IEnumerable<KeyValuePair<string, object>> ||
param is IDynamicParameters)
) ? (IEnumerable) param : null;
}
private static int ExecuteImpl(this IDbConnection cnn, ref CommandDefinition command)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment