mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-02-27 16:50:33 +08:00
Update .net
This commit is contained in:
@@ -334,6 +334,7 @@ namespace SqlSugar
|
|||||||
public void RemoveCacheAll()
|
public void RemoveCacheAll()
|
||||||
{
|
{
|
||||||
ReflectionInoHelper.RemoveAllCache();
|
ReflectionInoHelper.RemoveAllCache();
|
||||||
|
InstanceFactory.RemoveCache();
|
||||||
}
|
}
|
||||||
|
|
||||||
public void RemoveCacheAll<T>()
|
public void RemoveCacheAll<T>()
|
||||||
|
|||||||
@@ -11,6 +11,12 @@ namespace SqlSugar
|
|||||||
static Assembly assembly = Assembly.Load(UtilConstants.AssemblyName);
|
static Assembly assembly = Assembly.Load(UtilConstants.AssemblyName);
|
||||||
static Dictionary<string, Type> typeCache = new Dictionary<string, Type>();
|
static Dictionary<string, Type> typeCache = new Dictionary<string, Type>();
|
||||||
|
|
||||||
|
|
||||||
|
public static void RemoveCache()
|
||||||
|
{
|
||||||
|
typeCache = new Dictionary<string, Type>();
|
||||||
|
}
|
||||||
|
|
||||||
#region Queryable
|
#region Queryable
|
||||||
public static ISugarQueryable<T> GetQueryable<T>(ConnectionConfig currentConnectionConfig)
|
public static ISugarQueryable<T> GetQueryable<T>(ConnectionConfig currentConnectionConfig)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user