You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rowanmiller
changed the title
Better exception message when invalid expression in Include
Query: Better exception message when invalid expression in Include
Dec 3, 2015
Fix for #3910 should address this. New exception is (will double check that the scenario in the bug is affected)
Lambda expression '{includeLambdaExpression}' is not valid for Include/ThenInclude result operator. The expression should represent a property access: 't => t.MyProperty'. Specify lambda parameter explicitly to access navigations on derived types: '(Derived t) => t.MyProperty'. For more information on including related data, see
See this thread #1833
We should provide a clearer error stating that only navigation paths are allowed at the moment
The text was updated successfully, but these errors were encountered: