mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-08 02:14:53 +08:00
Support PluginLoadContext
This commit is contained in:
@@ -17,7 +17,7 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
public EntityInfo GetEntityInfo(Type type)
|
public EntityInfo GetEntityInfo(Type type)
|
||||||
{
|
{
|
||||||
string cacheKey = "GetEntityInfo" + type.FullName;
|
string cacheKey = "GetEntityInfo"+ type.GetHashCode() + type.FullName;
|
||||||
return this.Context.Utilities.GetReflectionInoCacheInstance().GetOrCreate(cacheKey,
|
return this.Context.Utilities.GetReflectionInoCacheInstance().GetOrCreate(cacheKey,
|
||||||
() =>
|
() =>
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user