Dave Bell

Dave Bell

  • NA
  • 108
  • 8.9k

How to fetch data from 3 linked tables using dapper

Feb 11 2023 2:55 AM

I have 3 objects and used EF to create tables as below. 1 to many between Country and State. 1 to many between State and City

Country {
List<State>
}
State {
<List> City
}
City {
}

How to I query using dapper so that I get all 3 in response


Answers (3)