Try your search with a different keyword or use * as a wildcard.
using FluentMigrator.Builders.Create.Table;
using Nop.Core.Domain.Catalog;
using Nop.Core.Domain.Discounts;
using Nop.Data.Extensions;
namespace Nop.Data.Mapping.Builders.Discounts;
///
/// Represents a discount manufacturer mapping entity builder
///
public partial class DiscountManufacturerMappingBuilder : NopEntityBuilder
{
#region Methods
///
/// Apply entity configuration
///
/// Create table expression builder
public override void MapEntity(CreateTableExpressionBuilder table)
{
table
.WithColumn(NameCompatibilityManager.GetColumnName(typeof(DiscountManufacturerMapping), nameof(DiscountManufacturerMapping.DiscountId)))
.AsInt32().PrimaryKey().ForeignKey()
.WithColumn(NameCompatibilityManager.GetColumnName(typeof(DiscountManufacturerMapping), nameof(DiscountManufacturerMapping.EntityId)))
.AsInt32().PrimaryKey().ForeignKey();
}
#endregion
}