CoreStrings.InvalidIncludeLambdaExpression(Object, Object) Method

Definition

The {methodName} property lambda expression '{includeLambdaExpression}' is invalid. The expression should represent a property access: 't => t.MyProperty'. To target navigations declared on derived types, specify an explicitly typed lambda parameter of the target type, E.g. '(Derived d) => d.MyProperty'. For more information on including related data, see http://go.microsoft.com/fwlink/?LinkID=746393.

public static string InvalidIncludeLambdaExpression (object methodName, object includeLambdaExpression);
static member InvalidIncludeLambdaExpression : obj * obj -> string
Public Shared Function InvalidIncludeLambdaExpression (methodName As Object, includeLambdaExpression As Object) As String

Parameters

methodName
Object
includeLambdaExpression
Object

Returns

Applies to