I use nopcommerce 4.50.4
I created a new domain entity called market that extends the vendor class
public class marketBuilder : NopEntityBuilder<market>
{
public override void MapEntity(CreateTableExpressionBuilder table)
{
table.WithColumn("Id").AsInt32().ForeignKey<Vendor>().PrimaryKey()
.WithColumn("shelves").AsInt32().Nullable()
}
}
the builder does not work for some reason he creates a clinic table with all vendor properties
I want this table to be an extension of the vendor table
any help to let migration know that this entity is an extension to the old one to add one column not whole table with the combined properties