|
@ -238,7 +238,7 @@ namespace SqlSugar |
|
|
dt.Add(columnInfo.DbColumnName, value); |
|
|
dt.Add(columnInfo.DbColumnName, value); |
|
|
this.Context.Updateable(dt) |
|
|
this.Context.Updateable(dt) |
|
|
.AS(tableName) |
|
|
.AS(tableName) |
|
|
.Where($"{columnInfo.DbColumnName} is null ").ExecuteCommand(); |
|
|
.Where($"{this.SqlBuilder.GetTranslationColumnName(columnInfo.DbColumnName)} is null ").ExecuteCommand(); |
|
|
columnInfo.IsNullable = false; |
|
|
columnInfo.IsNullable = false; |
|
|
UpdateColumn(tableName, columnInfo); |
|
|
UpdateColumn(tableName, columnInfo); |
|
|
} |
|
|
} |
|
|