Robuta

https://learn.microsoft.com/fr-fr/dotnet/api/microsoft.entityframeworkcore.metadata.builders.entitytypebuilder-1.hasqueryfilter?view=efcore-10.0 EntityTypeBuilderTEntity.HasQueryFilter Method (Microsoft.EntityFrameworkCore.Metadata.Builders)... Specifies a LINQ predicate expression that will automatically be applied to any queries targeting this entity type. methodmicrosoftentityframeworkcoremetadatabuilders