mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 10:08:19 +08:00
-
This commit is contained in:
@@ -234,7 +234,7 @@ namespace SqlSugar
|
|||||||
this.Context.Updateable(dt)
|
this.Context.Updateable(dt)
|
||||||
.AS(tableName)
|
.AS(tableName)
|
||||||
.Where($"{columnInfo.DbColumnName} is null ").ExecuteCommand();
|
.Where($"{columnInfo.DbColumnName} is null ").ExecuteCommand();
|
||||||
|
columnInfo.IsNullable = false;
|
||||||
UpdateColumn(tableName, columnInfo);
|
UpdateColumn(tableName, columnInfo);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Reference in New Issue
Block a user