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
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'.