提交 06aa5cfc 编写于 作者: P Pat Paasch

fix parameter reference in anonymous function

Would occasionally generate exception "Invalid attempt to call MetaData when reader is closed"
上级 ae71b7be
......@@ -1524,7 +1524,7 @@ public object SetValue(string key, object value)
string[] names = new string[effectiveFieldCount];
for (int i = 0; i < effectiveFieldCount; i++)
{
names[i] = reader.GetName(i + startBound);
names[i] = r.GetName(i + startBound);
}
table = new DapperTable(names);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册