public TenantedEntityQueryListener(ICurrentTenantIdResolver resolver) : base(resolver)
 {
     _resolver = resolver;
 }
Пример #2
0
 public RavenTenantedSession(IAsyncDocumentSession dbSession, ICurrentTenantIdResolver tenantResolver)
 {
     _dbSession       = dbSession;
     _currentTenantId = tenantResolver.GetCurrentTenantId();
 }