Example #1
0
 public EntityMapFinder(IAppContext appContext
                        , IEntityMapRepository entityMapRepository)
 {
     _appContext          = appContext;
     _entityMapRepository = entityMapRepository;
     _cacheService        = new Caching.CacheManager <EntityMap>(EntityMapCache.CacheKey(_appContext), _appContext.PlatformSettings.CacheEnabled);
 }
Example #2
0
 public EntityMapFinder(IAppContext appContext
                        , IEntityMapRepository entityMapRepository)
 {
     _appContext          = appContext;
     _entityMapRepository = entityMapRepository;
     _cacheService        = new Caching.CacheManager <EntityMap>(EntityMapCache.CacheKey(_appContext), EntityMapCache.BuildKey);
 }
Example #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);
 }
Example #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);
 }
Example #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);
 }