19 lines
545 B
C#
19 lines
545 B
C#
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
|
|
|
namespace IRaCIS.Core.Test.CodeFirstTest.MSSQL
|
|
{
|
|
//public class DictionaryConfigration : IEntityTypeConfiguration<Dictionary>
|
|
//{
|
|
|
|
|
|
// public void Configure(EntityTypeBuilder<Dictionary> builder)
|
|
// {
|
|
// //builder.HasOne(t => t.ConfigType).WithMany().HasForeignKey(d => d.ConfigTypeId);
|
|
|
|
// //builder.HasMany(t => t.ChildList).WithOne(t => t.Parent).HasForeignKey(d => d.ParentId);
|
|
|
|
// }
|
|
//}
|
|
}
|