mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-24 05:42:01 +08:00
Add check
This commit is contained in:
@@ -325,6 +325,7 @@ namespace SqlSugar
|
||||
foreach (var column in EntityInfo.Columns)
|
||||
{
|
||||
if (column.IsIgnore) continue;
|
||||
Check.ExceptionEasy(item == null, "db.Updateable(data) data不能是null", "db.Updateable(data) data不能是null");
|
||||
var columnInfo = new DbColumnInfo()
|
||||
{
|
||||
Value = column.PropertyInfo.GetValue(item, null),
|
||||
|
||||
Reference in New Issue
Block a user