mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-20 04:48:16 +08:00
- 修改 MERGE INTO 别名与 SQL 关键字冲突的 bug;#816
This commit is contained in:
@ -169,7 +169,7 @@ namespace FreeSql.Internal.CommonProvider
|
||||
object val = col.GetDbValue(d);
|
||||
sb.Append(_commonUtils.RewriteColumn(col, _commonUtils.GetNoneParamaterSqlValue(dbParams, "cu", col, col.Attribute.MapType, val)));
|
||||
}
|
||||
if (didx == 0) sb.Append(" as ").Append(col.Attribute.Name);
|
||||
if (didx == 0) sb.Append(" as ").Append(_commonUtils.QuoteSqlName(col.Attribute.Name));
|
||||
++colidx2;
|
||||
}
|
||||
switch (_orm.Ado.DataType)
|
||||
|
Reference in New Issue
Block a user