Microsoft
70-516 · Question #233
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…
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
How the community answered
(43 responses)- A5% (2)
- B84% (36)
- C9% (4)
- D2% (1)
Community Discussion
No community discussion yet for this question.