protected DomainRepositoryBase(IDomainDbSession session, IRelayWorker relayWorker) { Require.NotNull(session, "session"); Require.NotNull(relayWorker, "relayWorker"); Session = session; RelayWorker = relayWorker; }
// Note: Pass in IDomainDbSession instead of NhDomainDbSession to make it IoC container friendly public NhDomainRepository(IDomainDbSession session, IRelayWorker relayWorker) : base(session, relayWorker) { }