title: Can I make Global Query Filters in Entity Framework 6? by OnModelCreating?
body: <p>I try to make a global query. I know that this is possible in EF Core 2.0 however I need to do it using EF 6.</p>
  
  <p>I try to do something like this in EF 6:
  (IsDeleted is a property in my Class Cliente as boolean)</p>
  
  <pre><code>protected override void OnModelCreating(DbModelBuilder modelBuilder)
  {
      base.OnModelCreating(modelBuilder);
  modelBuilder.Entity&lt;Client&gt;().HasQueryFilter(x =&gt; x.IsDeleted= false);
  }
  </code></pre>
  
  <p>I will appreciate your help, thank you!</p>