CoreStrings.IncludeOnNonEntity(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.
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
Parameters
- expression
- Object
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework