mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-19 20:38:16 +08:00
- 修复 #454 优化遗留的 bug,影响 Aop.AuditValue 事件;#521
This commit is contained in:
@ -374,7 +374,7 @@ namespace FreeSql.Internal.CommonProvider
|
||||
changedDict.Add(col.Attribute.Name, true);
|
||||
}
|
||||
if (val == null && col.Attribute.MapType == typeof(string) && col.Attribute.IsNullable == false)
|
||||
col.SetValue(data, val = "");
|
||||
col.SetValue(d, val = "");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user