InvalidOperationException: An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.InvalidIncludePathError': Unable to find navigation 'EntityName' specified in string based include path 'AnotherEntity Name'.


Question: How do you retrieve data from two different tables using Linq in Asp.Net 5 Entity Framework? I am getting an error that says:
InvalidOperationException: An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.InvalidIncludePathError': Unable to find navigation 'EntityName' specified in string based include path 'AnotherEntity Name'. This exception can be suppressed or logged by passing event ID 'CoreEventId.InvalidIncludePathError' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.



Login to See the Rest of the Answer

Answer Here: https://www.ernestech.com/articles/details/12090/an-error-was-generated-for-warning-%27microsoft.entityframeworkcore.query.invalidincludepatherror%27%3A-unable-to-find-navigation-specified-in-string-based-include-path


InvalidOperationException: An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.InvalidIncludePathError': Unable to find navigation 'EntityName' specified in string based include path 'AnotherEntity Name'.

Edited Version 2

Question
How do you retrieve data from two different tables using Linq in Asp.Net 5 Entity Framework? I am getting an error that says

InvalidOperationException
An error was generated for warning 'Microsoft.EntityFrameworkCore.Query.InvalidIncludePathError'
Unable to find navigation 'EntityName' specified in string based include path 'AnotherEntity Name'. This exception can be suppressed or logged by passing event ID 'CoreEventId.InvalidIncludePathError' to the 'ConfigureWarnings' method in 'DbContext.OnConfiguring' or 'AddDbContext'.






For peering opportunity Autonomouse System Number: AS401345 Custom Software Development at ErnesTech Email Address[email protected]