mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-08 17:30:55 +08:00
Merge branch 'master' of https://github.com/2881099/FreeSql
This commit is contained in:
@@ -81,6 +81,7 @@ namespace FreeSql
|
|||||||
if (table.ColumnsByCs.ContainsKey(col.CsName))
|
if (table.ColumnsByCs.ContainsKey(col.CsName))
|
||||||
{
|
{
|
||||||
if (col.Attribute.IsVersion) continue;
|
if (col.Attribute.IsVersion) continue;
|
||||||
|
if (col.Attribute.CanUpdate == false) continue;
|
||||||
var propvalBefore = table.GetPropertyValue(entityBefore, col.CsName);
|
var propvalBefore = table.GetPropertyValue(entityBefore, col.CsName);
|
||||||
var propvalAfter = table.GetPropertyValue(entityAfter, col.CsName);
|
var propvalAfter = table.GetPropertyValue(entityAfter, col.CsName);
|
||||||
//if (object.Equals(propvalBefore, propvalAfter) == false) changes.Add(col.CsName);
|
//if (object.Equals(propvalBefore, propvalAfter) == false) changes.Add(col.CsName);
|
||||||
|
|||||||
Reference in New Issue
Block a user