Fix #220

parent c840cc2e
......@@ -2745,7 +2745,7 @@ public static void PackListParameters(IDbCommand command, string namePrefix, obj
{
return "(SELECT " + variableName + " WHERE 1 = 0)";
}
});
}, RegexOptions.IgnoreCase | RegexOptions.Multiline | RegexOptions.CultureInvariant);
var dummyParam = command.CreateParameter();
dummyParam.ParameterName = namePrefix;
dummyParam.Value = DBNull.Value;
......@@ -2777,7 +2777,7 @@ public static void PackListParameters(IDbCommand command, string namePrefix, obj
}
return sb.Append(')').__ToStringRecycle();
}
});
}, RegexOptions.IgnoreCase | RegexOptions.Multiline | RegexOptions.CultureInvariant);
}
}
......
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