mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-22 02:51:58 +08:00
Synchronization code
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user