title: ApplyConfigurationsFromAssembly With Filter Entityframework Core
body: <p>I have a requirement to create db context with a specific type of entity since i have multiple Db context on the solution. my problem is <code>OnModelCreating</code> we apply Configuration from the assembly <code>builder.ApplyConfigurationsFromAssembly(Assembly.GetExecutingAssembly())</code> So i want to apply  configuration with only <code>IEntityTypeConfiguration</code> Type with a Entity has base model <code>BaseEntity</code>like below </p>
  
  <pre><code>public class DaysOfWeekBuilder : IEntityTypeConfiguration&lt;DaysOfWeek&gt;
  {
      public void Configure(EntityTypeBuilder&lt;DaysOfWeek&gt; builder)
      {
          builder.ToTable("DaysOfWeek");
          builder.Property(e =&gt; e.Name).HasMaxLength(15);
      }
  }
  </code></pre>
  
  <p>So <code>DaysOfWeek</code> Entity has base class <code>BaseEntity</code></p>
  
  <pre><code>public class DaysOfWeek : BaseEntity
  {
      public string Name { get; set; }
  }
  </code></pre>
  
  <p>How can  we filter  <code>IEntityTypeConfiguration</code> with a Entity has base model <code>BaseEntity</code> ?</p>
  
  <p>Thank you</p>