on model class you can use attribute
[NotMapped]
public int ProductDiscountValue { get; set; }
or on model binding event use Fluent API to ignore not required columns
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity<ymlPlant>()
.Ignore(t => t.columnname);
}
see more on EF Core Fluent API