//
// Licensed under the MIT License. See LICENSE file in the project root for full license information.
//
namespace MUnique.OpenMU.Persistence.EntityFramework.Extensions.ModelBuilder;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using MUnique.OpenMU.Persistence.EntityFramework.Model;
///
/// Extensions for the -related s.
///
internal static class AttributeExtensions
{
///
/// Applies the settings for the entity.
///
/// The builder.
public static void Apply(this EntityTypeBuilder builder)
{
builder.Ignore(c => c.AggregateType);
}
///
/// Applies the settings for the entity.
///
/// The builder.
public static void Apply(this EntityTypeBuilder builder)
{
builder.Ignore(p => p.ConstantValue);
}
}