Mergetable bug

This commit is contained in:
skx
2021-01-17 23:17:20 +08:00
parent 4f65c4d1c2
commit 1e6f05c1c6

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)&&name!= "Dictionary`2")
if (!name.Contains("<>f__AnonymousType") &&name.IsContainsIn("(", ")", SqlTranslationLeft)&&name!= "Dictionary`2")
{
return name;
}