© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
82 replies
ch3rry

✅ (Solved) (Dapper) how to make a single query with one-to-many objects?

connection.QueryAsync<Request, Patient, Registrant, Request>
connection.QueryAsync<Request, Patient, Registrant, Request>

i don't think
QuerySingleAsync
QuerySingleAsync
(or
QuerySingleOrDefaultAsync
QuerySingleOrDefaultAsync
) accepts more than 1 template object, or am i missing something here?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?
Next page

Similar Threads

✅ How to use Dapper with Query Parameters
C#CC# / help
2y ago
❔ How to optimize a EF Core query with too many joins?
C#CC# / help
3y ago
❔ ✅ EFCore: How to add entity with one-to-many relationship without navigation property in 1 query
C#CC# / help
3y ago