We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi can any one just correct me the error occur when running the grid values using this below code:
Error: "An unhandled exception occurred while processing the request. InvalidOperationException: Lambda expression used inside Include is not valid."
code: public IEnumerable GetAll() { return _context.LibraryAssets .Include(asset => asset.Status) .Include(asset => asset.Location); }
in view side:
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi can any one just correct me the error occur when running the grid values using this below code:
Error: "An unhandled exception occurred while processing the request.
InvalidOperationException: Lambda expression used inside Include is not valid."
code: public IEnumerable GetAll()
{
return _context.LibraryAssets
.Include(asset => asset.Status)
.Include(asset => asset.Location);
}
in view side:
@foreach (var asset in Model.Assets) {![](@asset.ImageUrl)
@asset.Title @asset.AuthorOrDirector @asset.DeweyCallNumber }The text was updated successfully, but these errors were encountered: