mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-10-15 18:55:07 +08:00
-
This commit is contained in:
@@ -167,7 +167,7 @@ namespace SqlSugar
|
||||
|
||||
public static bool IsClass(this Type thisValue)
|
||||
{
|
||||
return thisValue != StringType && thisValue.IsClass;
|
||||
return thisValue != StringType && thisValue.IsEntity();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -72,7 +72,7 @@ namespace SqlSugar
|
||||
|
||||
public static bool IsEntity(this Type type)
|
||||
{
|
||||
return type.GetTypeInfo().IsClass();
|
||||
return type.GetTypeInfo().IsClass;
|
||||
}
|
||||
|
||||
public static Type ReflectedType(this MethodInfo method)
|
||||
|
Reference in New Issue
Block a user