Microsoft
70-516 · Question #233
70-516 Question #233: Real Exam Question with Answer & Explanation
The correct answer is B. Dim unusedColors = context.Colors.Where(Function(c) Not. See the full explanation below for the reasoning.
Question
The database contains orphaned Color records that are no longer connected to Part records. You need to clean up the orphaned records. You have an existing ContosoEntities context object named context. Which code segment should you use?
Options
- ADim unusedColors = context.Colors.Where(Function(c) Not
- BDim unusedColors = context.Colors.Where(Function(c) Not
- Ccontext.Colors.ToList().RemoveAll(Function(c) Not
- Dcontext.Colors.TakeWhile(Function(c) Not
Community Discussion
No community discussion yet for this question.