Support PluginLoadContext

This commit is contained in:
sunkaixuna 2021-11-10 18:06:11 +08:00
parent 1aaeac3c13
commit 62549358d3

View File

@ -17,7 +17,7 @@ namespace SqlSugar
}
public EntityInfo GetEntityInfo(Type type)
{
string cacheKey = "GetEntityInfo" + type.FullName;
string cacheKey = "GetEntityInfo"+ type.GetHashCode() + type.FullName;
return this.Context.Utilities.GetReflectionInoCacheInstance().GetOrCreate(cacheKey,
() =>
{