public IDictionaryItem Get(Guid uniqueId) { using (var uniqueIdRepo = new DictionaryByUniqueIdRepository(this, UnitOfWork, RepositoryCache, Logger, SqlSyntax)) { return(uniqueIdRepo.Get(uniqueId)); } }
public IDictionaryItem Get(Guid uniqueId) { // note: normal to use GlobalCache here since we're passing it to a new repository using (var uniqueIdRepo = new DictionaryByUniqueIdRepository(this, UnitOfWork, GlobalCache, Logger, SqlSyntax)) { return(uniqueIdRepo.Get(uniqueId)); } }
public IDictionaryItem Get(Guid uniqueId) { var uniqueIdRepo = new DictionaryByUniqueIdRepository(this, ScopeAccessor, AppCaches, _loggerFactory.CreateLogger <DictionaryByUniqueIdRepository>()); return(uniqueIdRepo.Get(uniqueId)); }
public IDictionaryItem Get(Guid uniqueId) { var uniqueIdRepo = new DictionaryByUniqueIdRepository(this, ScopeAccessor, AppCaches, Logger); return(uniqueIdRepo.Get(uniqueId)); }