Dictionary As("Name") BUG

This commit is contained in:
610262374@qq.com
2018-11-21 16:15:16 +08:00
parent c98f4a09b8
commit b20a7f9f90

View File

@@ -31,7 +31,7 @@ namespace SqlSugar
public virtual string GetTranslationTableName(string name)
{
Check.ArgumentNullException(name, string.Format(ErrorMessage.ObjNotExist, "Table Name"));
if (name.IsContainsIn("(", ")", SqlTranslationLeft))
if (name.IsContainsIn("(", ")", SqlTranslationLeft)&&name!= "Dictionary`2")
{
return name;
}