mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-04-30 12:47:57 +08:00
-
This commit is contained in:
parent
59e3ed2d1f
commit
c8067b9c90
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user