public DapperSessionContext(IDapperSessionFactory factory, IDapperConfiguration configuration, ILogger <DapperSessionContext> logger) { _factory = factory; _logger = logger; _configuration = configuration; IsolationLevel = IsolationLevel.ReadCommitted; _sessionMap = new Lazy <ConcurrentDictionary <string, IDapperSession> >(() => new ConcurrentDictionary <string, IDapperSession>()); }
public DapperSessionContext(IDapperSessionFactory factory) { _factory = factory; Bind(); }