Commit 7af019ea authored by Marc Gravell's avatar Marc Gravell
parent 8f31bdc2
...@@ -240,7 +240,8 @@ private static string GetTableName(Type type) ...@@ -240,7 +240,8 @@ private static string GetTableName(Type type)
sb.AppendFormat("update {0} set ", name); sb.AppendFormat("update {0} set ", name);
var allProperties = TypePropertiesCache(type); var allProperties = TypePropertiesCache(type);
var nonIdProps = allProperties.Where(a => !keyProperties.Contains(a)); var computedProperties = ComputedPropertiesCache(type);
var nonIdProps = allProperties.Except(keyProperties.Union(computedProperties));
for (var i = 0; i < nonIdProps.Count(); i++) for (var i = 0; i < nonIdProps.Count(); i++)
{ {
......
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