mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
Update Core
This commit is contained in:
@@ -385,13 +385,14 @@ namespace SqlSugar
|
||||
}
|
||||
if (this.EasyJoinInfos.IsValuable())
|
||||
{
|
||||
|
||||
if (this.TableWithString.IsValuable())
|
||||
{
|
||||
result += "," + string.Join(",", this.EasyJoinInfos.Select(it => string.Format("{0} {1} {2} ", it.Value, it.Key, TableWithString)));
|
||||
result += "," + string.Join(",", this.EasyJoinInfos.Select(it => string.Format("{0} {1} {2} ", GetTableName(it.Value), it.Key, TableWithString)));
|
||||
}
|
||||
else
|
||||
{
|
||||
result += "," + string.Join(",", this.EasyJoinInfos.Select(it => string.Format("{0} {1} ", it.Value, it.Key)));
|
||||
result += "," + string.Join(",", this.EasyJoinInfos.Select(it => string.Format("{0} {1} ", GetTableName(it.Value), it.Key)));
|
||||
}
|
||||
}
|
||||
return result;
|
||||
@@ -425,5 +426,11 @@ namespace SqlSugar
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
private string GetTableName(string entityName)
|
||||
{
|
||||
var result = this.Context.EntityProvider.GetTableName(entityName);
|
||||
return this.Builder.GetTranslationTableName(result);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -17,5 +17,5 @@ using System.Runtime.InteropServices;
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("1c022a5c-4e4d-4026-a8a3-f659b9740a1a")]
|
||||
[assembly: AssemblyVersion("4.1.1.0")]
|
||||
[assembly: AssemblyFileVersion("4.1.1.0")]
|
||||
[assembly: AssemblyVersion("4.1.1.1")]
|
||||
[assembly: AssemblyFileVersion("4.1.1.1")]
|
||||
|
@@ -2,7 +2,7 @@
|
||||
<package >
|
||||
<metadata>
|
||||
<id>sqlSugarCore</id>
|
||||
<version>4.1.1.0</version>
|
||||
<version>4.1.1.1</version>
|
||||
<authors>sunkaixuan</authors>
|
||||
<owners>Landa</owners>
|
||||
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>
|
||||
|
Reference in New Issue
Block a user