I want to set a condition on all entites to hide the ones that are deleted.
I could not find aa command in the Flount Api to achieve this .
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity<BankAccountCurrencyType>().HasQueryFilter(x => x.IsDeleted == false || x.IsDeleted ==null );
}
1