mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
Support schema
This commit is contained in:
@@ -44,7 +44,14 @@ namespace SqlSugar
|
||||
{
|
||||
return name;
|
||||
}
|
||||
return SqlTranslationLeft + name + SqlTranslationRight;
|
||||
if (name.Contains("."))
|
||||
{
|
||||
return string.Join(".", name.Split('.').Select(it => SqlTranslationLeft + it + SqlTranslationRight));
|
||||
}
|
||||
else
|
||||
{
|
||||
return SqlTranslationLeft + name + SqlTranslationRight;
|
||||
}
|
||||
}
|
||||
public virtual string GetTranslationColumnName(string entityName, string propertyName)
|
||||
{
|
||||
|
Reference in New Issue
Block a user