AsiignmentStruct
This commit is contained in:
@@ -13,13 +13,13 @@ namespace Entities.Contracts
|
||||
|
||||
public string Description { get; set; } = string.Empty;
|
||||
|
||||
[InverseProperty(nameof(Question.Description))]
|
||||
public ICollection<Question> Questions { get; set; } = new List<Question>();
|
||||
[InverseProperty(nameof(AssignmentQuestion.QuestionContext))]
|
||||
public ICollection<AssignmentQuestion>? Questions { get; set; } = new List<AssignmentQuestion>();
|
||||
|
||||
|
||||
public QuestionContext()
|
||||
{
|
||||
Questions = new HashSet<Question>();
|
||||
Questions = new HashSet<AssignmentQuestion>();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user