Exemplo n.º 1
0
        public override void RemoveChild(AssestmentContext dbContext, BaseEntity childToRemove)
        {
            var itemToRemove = Pa_ExQuestion.FirstOrDefault(x => x.InternalId == childToRemove.InternalId);

            Pa_ExQuestion.Remove(itemToRemove);
            dbContext.Pa_ExQuestion.Remove(itemToRemove);
        }
Exemplo n.º 2
0
 public override void AddChild(BaseEntity childToAdd)
 {
     Pa_ExQuestion.Add((Pa_ExQuestion)childToAdd);
 }