mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-05 21:27:58 +08:00
人大金仓[SqlServer]
This commit is contained in:
parent
50d1e3d161
commit
7dbec111df
@ -75,6 +75,10 @@ namespace SqlSugar
|
|||||||
name = (mappingInfo == null ? name : mappingInfo.DbTableName);
|
name = (mappingInfo == null ? name : mappingInfo.DbTableName);
|
||||||
if (name.Contains(".")&& !name.Contains("("))
|
if (name.Contains(".")&& !name.Contains("("))
|
||||||
{
|
{
|
||||||
|
if (SqlTranslationLeft.HasValue()&&SqlTranslationLeft==SqlTranslationRight)
|
||||||
|
{
|
||||||
|
return string.Join(".", name.ToUpper(IsUpper).Split('.').Select(it => SqlTranslationLeft + it.Replace(SqlTranslationLeft,"") + SqlTranslationRight));
|
||||||
|
}
|
||||||
return string.Join(".", name.ToUpper(IsUpper).Split('.').Select(it => SqlTranslationLeft + it + SqlTranslationRight));
|
return string.Join(".", name.ToUpper(IsUpper).Split('.').Select(it => SqlTranslationLeft + it + SqlTranslationRight));
|
||||||
}
|
}
|
||||||
else if (name.Contains("("))
|
else if (name.Contains("("))
|
||||||
|
Loading…
Reference in New Issue
Block a user