set; }{ public string Type { get; set; }EFcore将在表Child中创建一个作为外键的ParentId。但是首先,我希望根据特定的Type字符串过滤子实体,类似于SQL中的exists。Child.ParentId
where exists (select * from Parent where Parent.Id = Child.Paren
上一次修改是在2018年02/26,但我需要修复一些突破性的更改。在调试视图中,对于拥有类型(RequestData.ProcessContext#MyProcessContext)的每一种用法,我都有不同的实体类型:foreach (var entity in modelBuilder.Model.GetEntityTypes()) var