public EntityTypeConfiguration <TEntityType> DerivesFrom <TBaseType>() where TBaseType : class { EntityTypeConfiguration <TBaseType> baseEntityType = _modelBuilder.Entity <TBaseType>(); _configuration.DerivesFrom(baseEntityType._configuration); return(this); }