82 lines
2.2 KiB
C#
82 lines
2.2 KiB
C#
//using IRaCIS.Core.Domain.Models;
|
||
//using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
||
|
||
//namespace IRaCIS.Core.Infra.EFCore.EntityConfigration;
|
||
|
||
///// <summary>
|
||
///// 医学影像 数据量大,主键是 SeqId ,Id 是自己算的,也可以作为Id,但是不是有序的,数据量大,会导致性能很差,所以是逻辑主键
|
||
///// </summary>
|
||
|
||
//public class DicomStudyConfigration : IEntityTypeConfiguration<DicomStudy>
|
||
//{
|
||
// public void Configure(EntityTypeBuilder<DicomStudy> builder)
|
||
// {
|
||
// builder.HasKey(e => e.SeqId);
|
||
// }
|
||
//}
|
||
|
||
//public class DicomSeriesConfigration : IEntityTypeConfiguration<DicomSeries>
|
||
//{
|
||
// public void Configure(EntityTypeBuilder<DicomSeries> builder)
|
||
// {
|
||
// builder.HasKey(e => e.SeqId);
|
||
// }
|
||
//}
|
||
|
||
//public class DicomInstanceConfigration : IEntityTypeConfiguration<DicomInstance>
|
||
//{
|
||
// public void Configure(EntityTypeBuilder<DicomInstance> builder)
|
||
// {
|
||
// builder.HasKey(e => e.SeqId);
|
||
// }
|
||
//}
|
||
|
||
//public class TaskStudyConfigration : IEntityTypeConfiguration<TaskStudy>
|
||
//{
|
||
// public void Configure(EntityTypeBuilder<TaskStudy> builder)
|
||
// {
|
||
// builder.HasKey(e => e.SeqId);
|
||
// }
|
||
//}
|
||
|
||
//public class TaskSeriesConfigration : IEntityTypeConfiguration<TaskSeries>
|
||
//{
|
||
// public void Configure(EntityTypeBuilder<TaskSeries> builder)
|
||
// {
|
||
// builder.HasKey(e => e.SeqId);
|
||
// }
|
||
//}
|
||
|
||
//public class TaskInstanceConfigration : IEntityTypeConfiguration<TaskInstance>
|
||
//{
|
||
// public void Configure(EntityTypeBuilder<TaskInstance> builder)
|
||
// {
|
||
// builder.HasKey(e => e.SeqId);
|
||
// }
|
||
//}
|
||
|
||
|
||
//public class SCPStudyConfigration : IEntityTypeConfiguration<SCPStudy>
|
||
//{
|
||
// public void Configure(EntityTypeBuilder<SCPStudy> builder)
|
||
// {
|
||
// builder.HasKey(e => e.SeqId);
|
||
// }
|
||
//}
|
||
|
||
//public class SCPSeriesConfigration : IEntityTypeConfiguration<SCPSeries>
|
||
//{
|
||
// public void Configure(EntityTypeBuilder<SCPSeries> builder)
|
||
// {
|
||
// builder.HasKey(e => e.SeqId);
|
||
// }
|
||
//}
|
||
|
||
//public class SCPInstanceConfigration : IEntityTypeConfiguration<SCPInstance>
|
||
//{
|
||
// public void Configure(EntityTypeBuilder<SCPInstance> builder)
|
||
// {
|
||
// builder.HasKey(e => e.SeqId);
|
||
// }
|
||
//}
|