CoreStrings.IncludeOnNonEntity(Object) Method
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.
Cannot apply the 'Include' operation with argument '{expression}'. Either the source is not a queryable of a known entity type or 'Include' has been applied after 'Select' method which projects a different entity type through navigation. Consider applying 'Include' before 'Select' method call.
public static string IncludeOnNonEntity (object expression);
public static string IncludeOnNonEntity (object? expression);
static member IncludeOnNonEntity : obj -> string
Public Shared Function IncludeOnNonEntity (expression As Object) As String
- expression
- Object
Product | Versions |
---|---|
Entity Framework Core | 5.0, 6.0, 7.0, 8.0, 9.0 |
Entity Framework feedback
Entity Framework is an open source project. Select a link to provide feedback: