mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Synchronization code
This commit is contained in:
@@ -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,
|
||||||
() =>
|
() =>
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user