[Solved] Why null is returned?


This shouldn’t be the case. from wp in context.WorkPanels select wp; is equivalent to context.WorkPanels.Select(wp => wp);. The MS implementations of Select (Enumerable.Select / Queryable.Select) never return null.
There must be something else wrong somewhere else.

4

solved Why null is returned?