|
|
@ -35,7 +35,7 @@ namespace SqlSugar |
|
|
|
public override KeyValuePair<string, List<SugarParameter>> ToSql() |
|
|
|
{ |
|
|
|
var result= base.ToSql(); |
|
|
|
return new KeyValuePair<string, List<SugarParameter>>(result.Key.Replace("$PrimaryKey", GetPrimaryKeys().FirstOrDefault()), result.Value); |
|
|
|
return new KeyValuePair<string, List<SugarParameter>>(result.Key.Replace("$PrimaryKey", this.SqlBuilder.GetTranslationColumnName(GetPrimaryKeys().FirstOrDefault())), result.Value); |
|
|
|
} |
|
|
|
|
|
|
|
public override long ExecuteReturnBigIdentity() |
|
|
|