CoreStrings.InvalidIncludeLambdaExpression(Object, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Entity Framework