Try your search with a different keyword or use * as a wildcard.
using FluentMigrator.Builders.Create.Table;
using Nop.Core.Domain.Discounts;
using Nop.Core.Domain.Orders;
using Nop.Data.Extensions;
namespace Nop.Data.Mapping.Builders.Discounts;
///
/// Represents a discount usage history entity builder
///
public partial class DiscountUsageHistoryBuilder : NopEntityBuilder
{
#region Methods
///
/// Apply entity configuration
///
/// Create table expression builder
public override void MapEntity(CreateTableExpressionBuilder table)
{
table
.WithColumn(nameof(DiscountUsageHistory.DiscountId)).AsInt32().ForeignKey()
.WithColumn(nameof(DiscountUsageHistory.OrderId)).AsInt32().ForeignKey();
}
#endregion
}