Beispiel #1
0
        protected DomainRepositoryBase(IDomainDbSession session, IRelayWorker relayWorker)
        {
            Require.NotNull(session, "session");
            Require.NotNull(relayWorker, "relayWorker");

            Session     = session;
            RelayWorker = relayWorker;
        }
Beispiel #2
0
 // Note: Pass in IDomainDbSession instead of NhDomainDbSession to make it IoC container friendly
 public NhDomainRepository(IDomainDbSession session, IRelayWorker relayWorker)
     : base(session, relayWorker)
 {
 }