Commit a91bf721 authored by Sam's avatar Sam

Merge pull request #62 from paaschpa/master

Bug fix for "Invalid attempt to call MetaData when reader is closed"
parents ae71b7be 06aa5cfc
...@@ -1524,7 +1524,7 @@ public object SetValue(string key, object value) ...@@ -1524,7 +1524,7 @@ public object SetValue(string key, object value)
string[] names = new string[effectiveFieldCount]; string[] names = new string[effectiveFieldCount];
for (int i = 0; i < effectiveFieldCount; i++) for (int i = 0; i < effectiveFieldCount; i++)
{ {
names[i] = reader.GetName(i + startBound); names[i] = r.GetName(i + startBound);
} }
table = new DapperTable(names); table = new DapperTable(names);
} }
......
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