public TenantedEntityQueryListener(ICurrentTenantIdResolver resolver) : base(resolver)
 {
     _resolver = resolver;
 }
예제 #2
0
 public RavenTenantedSession(IAsyncDocumentSession dbSession, ICurrentTenantIdResolver tenantResolver)
 {
     _dbSession       = dbSession;
     _currentTenantId = tenantResolver.GetCurrentTenantId();
 }