Try your search with a different keyword or use * as a wildcard.
using FluentMigrator.Builders.Create.Table;
using Nop.Core.Domain.Common;
using Nop.Core.Domain.Customers;
using Nop.Data.Extensions;
namespace Nop.Data.Mapping.Builders.Customers;
///
/// Represents a customer address mapping entity builder
///
public partial class CustomerAddressMappingBuilder : NopEntityBuilder
{
#region Methods
///
/// Apply entity configuration
///
/// Create table expression builder
public override void MapEntity(CreateTableExpressionBuilder table)
{
table
.WithColumn(NameCompatibilityManager.GetColumnName(typeof(CustomerAddressMapping), nameof(CustomerAddressMapping.AddressId)))
.AsInt32().ForeignKey().PrimaryKey()
.WithColumn(NameCompatibilityManager.GetColumnName(typeof(CustomerAddressMapping), nameof(CustomerAddressMapping.CustomerId)))
.AsInt32().ForeignKey().PrimaryKey();
}
#endregion
}