功能修改
This commit is contained in:
@@ -101,6 +101,15 @@ public class IRaCISDBContext : DbContext
|
||||
});
|
||||
});
|
||||
|
||||
modelBuilder.Entity<ReadingQuestionCriterionTrial>(entity =>
|
||||
{
|
||||
//默认SegmentName
|
||||
entity.OwnsOne(x => x.DefaultSegmentName, ownedNavigationBuilder =>
|
||||
{
|
||||
ownedNavigationBuilder.ToJson();
|
||||
});
|
||||
});
|
||||
|
||||
#region pgsql codefirst 配置 暂时屏蔽
|
||||
//if (base.Database.IsNpgsql())
|
||||
//{
|
||||
|
||||
Reference in New Issue
Block a user