Class WithoutTenantDataIsolationCustomization
- Namespace
- GroupeIsa.Neos.Shared.MultiTenant
- Assembly
- GroupeIsa.Neos.Shared.dll
Implementation of ICustomizingTenantDataIsolation that does not apply any tenant data isolation customization.
public class WithoutTenantDataIsolationCustomization : ICustomizingTenantDataIsolation
- Inheritance
-
WithoutTenantDataIsolationCustomization
- Implements
- Inherited Members
Properties
TenantQueryFilter
Gets the tenant query filter that replaces the default tenant data isolation, or null to keep the default isolation.
public Expression<Func<NeosTenantInfo, string, bool>>? TenantQueryFilter { get; }
Property Value
Remarks
The first parameter is the tenant of the current query and the second one is the tenant identifier of the row. The filter is stored in the Entity Framework model, which is shared by all the tenants of the process: it must read the current tenant from its first parameter and must not capture any variable, field or property, otherwise the model build fails.