mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-16 16:50:41 +08:00
Synchronization code
This commit is contained in:
parent
60a36c1015
commit
277b05cdc0
@ -18,7 +18,7 @@ namespace SqlSugar
|
|||||||
}
|
}
|
||||||
public EntityInfo GetEntityInfo(Type type)
|
public EntityInfo GetEntityInfo(Type type)
|
||||||
{
|
{
|
||||||
string cacheKey = "GetEntityInfo" + type.GetHashCode() + type.FullName;
|
string cacheKey = "GetEntityInfo" + type.GetHashCode() + type.FullName+this.Context?.CurrentConnectionConfig?.ConfigId;
|
||||||
return this.Context.Utilities.GetReflectionInoCacheInstance().GetOrCreate(cacheKey,
|
return this.Context.Utilities.GetReflectionInoCacheInstance().GetOrCreate(cacheKey,
|
||||||
() =>
|
() =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user