Commit 8f017a25 authored by Sam's avatar Sam

Merge pull request #92 from danzel/origin_master

Dapper.Contrib - Fix broken properties cache.
parents bc39863e 0f3cec94
......@@ -63,7 +63,7 @@ private static IEnumerable<PropertyInfo> TypePropertiesCache(Type type)
return pis;
}
var properties = type.GetProperties().Where(IsWriteable);
var properties = type.GetProperties().Where(IsWriteable).ToArray();
TypeProperties[type.TypeHandle] = properties;
return properties;
}
......
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