I have this query filter on tenant:
m.Builder.HasQueryFilter(mm => EF.Property(mm, "TenantId") == SindikatDataSetBase.TenantId);