sqlsugar/Src/Asp.NetCore2/SqlSugar/Utilities/CallContext.cs

17 lines
460 B
C#

using System;
using System.Collections.Generic;
using System.Data;
using System.Data.Common;
using System.Linq;
using System.Text;
using System.Threading;
namespace SqlSugar
{
internal class CallContext
{
public static ThreadLocal<List<SqlSugarProvider>> ContextList = new ThreadLocal<List<SqlSugarProvider>>();
public static ThreadLocal<List<MapperExpression>> MapperExpression = new ThreadLocal<List<MapperExpression>>();
}
}