Example #1
0
 public UnitOfWork(IEntityRepositoryFactory entityRepositoryFactory)
 {
     _webSearcherContext      = new WebSearcherContext();
     this.WebPages            = entityRepositoryFactory.CreateEntityRepository <WebPage>(_webSearcherContext);
     this.WebPagesConnections = entityRepositoryFactory.CreateEntityRepository <WebPageConnection>(_webSearcherContext);
 }