예제 #1
0
        internal SqlSessionHandler(Session session, SqlConnection connection, bool connectionIsExternal, bool transactionIsExternal)
            : base(session)
        {
            this.connection            = connection;
            this.connectionIsExternal  = connectionIsExternal;
            this.transactionIsExternal = transactionIsExternal;

            domainHandler = Handlers.DomainHandler;
            driver        = Handlers.StorageDriver;

            commandProcessor = domainHandler.CommandProcessorFactory.CreateCommandProcessor(Session, connection);
            prefetchManager  = new PrefetchManager(Session);
        }