public TransactionManager(Func<ISession> getSession) { Contract.Assert(getSession != null); this.GetSession = getSession; }