Beispiel #1
0
 public EntityMapFinder(IAppContext appContext
                        , IEntityMapRepository entityMapRepository)
 {
     _appContext          = appContext;
     _entityMapRepository = entityMapRepository;
     _cacheService        = new Caching.CacheManager <EntityMap>(EntityMapCache.CacheKey(_appContext), _appContext.PlatformSettings.CacheEnabled);
 }
Beispiel #2
0
 public EntityMapFinder(IAppContext appContext
                        , IEntityMapRepository entityMapRepository)
 {
     _appContext          = appContext;
     _entityMapRepository = entityMapRepository;
     _cacheService        = new Caching.CacheManager <EntityMap>(EntityMapCache.CacheKey(_appContext), EntityMapCache.BuildKey);
 }
Beispiel #3
0
 public EntityMapCreater(IAppContext appContext
                         , IEntityMapRepository entityMapRepository
                         , IEntityMapDependency dependencyService
                         )
 {
     _appContext          = appContext;
     _entityMapRepository = entityMapRepository;
     _dependencyService   = dependencyService;
     _cacheService        = new Caching.CacheManager <EntityMap>(EntityMapCache.CacheKey(_appContext), _appContext.PlatformSettings.CacheEnabled);
 }
Beispiel #4
0
 public EntityMapCreater(IAppContext appContext
                         , IEntityMapRepository entityMapRepository
                         , IEntityMapDependency dependencyService
                         )
 {
     _appContext          = appContext;
     _entityMapRepository = entityMapRepository;
     _dependencyService   = dependencyService;
     _cacheService        = new Caching.CacheManager <EntityMap>(EntityMapCache.CacheKey(_appContext), EntityMapCache.BuildKey);
 }
Beispiel #5
0
 public EntityMapDeleter(IAppContext appContext
                         , IEntityMapRepository entityMapRepository
                         , IEntityMapDependency dependencyService
                         , IEnumerable <ICascadeDelete <EntityMap> > cascadeDeletes
                         )
 {
     _appContext          = appContext;
     _entityMapRepository = entityMapRepository;
     _dependencyService   = dependencyService;
     _cascadeDeletes      = cascadeDeletes;
     _cacheService        = new Caching.CacheManager <EntityMap>(EntityMapCache.CacheKey(_appContext), _appContext.PlatformSettings.CacheEnabled);
 }