mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-01 19:15:10 +08:00
Synchronization code
This commit is contained in:
parent
2d56d9efde
commit
afe6ac2601
@ -108,7 +108,7 @@ namespace SqlSugar
|
||||
private object GetSelect<Y>(EntityColumnInfo it,Y data)
|
||||
{
|
||||
|
||||
return string.Format(" {0} AS {1} ", FormatValue(it.PropertyInfo.GetValue(data,null), it),it.PropertyName);
|
||||
return string.Format(" {0} AS {1} ", FormatValue(it.PropertyInfo.GetValue(data,null), it),queryBuilder.Builder.GetTranslationColumnName(it.PropertyName));
|
||||
}
|
||||
|
||||
private void NoClassMethod<Y>(Y data, StringBuilder sb,bool isLast)
|
||||
|
@ -36,7 +36,7 @@ namespace SqlSugar
|
||||
base._DbConnection = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public override void BeginTran(string transactionName)
|
||||
{
|
||||
base.BeginTran();
|
||||
@ -101,7 +101,6 @@ namespace SqlSugar
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public override void SetCommandToAdapter(IDataAdapter dataAdapter, DbCommand command)
|
||||
{
|
||||
((NpgsqlDataAdapter)dataAdapter).SelectCommand = (NpgsqlCommand)command;
|
||||
|
Loading…
Reference in New Issue
Block a user