Esempio n. 1
0
 public EntityRepository(
     IEntityCacheRepository entityCacheRepository,
     IUnitOfWork <EntityDbContext> unitOfWork)
     : base(unitOfWork)
 {
     _entityCacheRepository = entityCacheRepository;
 }
Esempio n. 2
0
 public void InitContext(
     IDomainValueRepository domainValueRepository,
     IEntityCacheRepository entityCacheRepository,
     IEntityContext entityContext,
     IStyleContext styleContext,
     IUserContext userContext)
 {
     DomainValueRepository = domainValueRepository;
     EntityCacheRepository = entityCacheRepository;
     EntityContext         = entityContext;
     StyleContext          = styleContext;
     UserContext           = userContext;
 }