EntityFrameworkCore.Projectables 包问题 导致更新出错
This commit is contained in:
@@ -9,7 +9,6 @@ using System.ComponentModel.DataAnnotations;
|
||||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using EntityFrameworkCore.Projectables;
|
||||
|
||||
namespace IRaCIS.Core.Domain.Models
|
||||
{
|
||||
@@ -324,7 +323,7 @@ namespace IRaCIS.Core.Domain.Models
|
||||
public Guid? BeforeConvertedTaskId { get; set; }
|
||||
|
||||
|
||||
[Projectable]
|
||||
[NotMapped]
|
||||
[JsonIgnore]
|
||||
public bool IsConvertedTask => BeforeConvertedTaskId != null || IsHistoryConvertedTask|| Subject.SubjectVisitTaskList.Where(t => t.TrialReadingCriterionId == TrialReadingCriterionId
|
||||
&& t.DoctorUserId == DoctorUserId && t.BeforeConvertedTaskId != null
|
||||
|
||||
Reference in New Issue
Block a user