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
in the select tests:
var test = _context.Blogs.Select("new (BlogId, Name, Posts)").ToDynamicArray();
it's doesn't support get related entities only one field,how to implement it
var test = _context.Blogs.Select("new (BlogId, Name, Posts.PostId)").ToDynamicArray();
The text was updated successfully, but these errors were encountered:
In your example : A Blog contains Posts (multiple), you cannot access Posts.PostId.
Posts.PostId
The example would work the other way around:
var test = _context.Posts.First().Select("new (PostId, Title, Blog.BlogId)").ToDynamicArray();
Sorry, something went wrong.
thanks
StefH
No branches or pull requests
in the select tests:
it's doesn't support get related entities only one field,how to implement it
The text was updated successfully, but these errors were encountered: