public void process(WebRequest request) { using (ISession session = SessionProvider.Instance.CreateSession()) { using (ITransaction transaction = session.BeginTransaction(SessionProvider.Instance.IsolationLevel)) { CurrentSessionContext.Bind(session); internal_command.process(request); CurrentSessionContext.Unbind( SessionProvider.Instance.SessionFactory); transaction.Commit(); } } }
public void process(WebRequest request) { discrete_command.process(request); }