Closed coderHT closed 3 years ago
Did you map your tables? When you create a reference map you're able to join tables and get the child table.
Can I get the reference link, please?
In this test code you can see many different mappings: Inheritance.cs
I want to join tables using DapperExtensions. But I'm not sure it was support or not. And I don't want to use Stored Procedures. I only did with Predicate for one table. Following is sample that I want to do.
Parent Table { public int Id {get;set;} public string Name {get;set;} public int ChildId {get;set;} public Child child {get;set;} }
Child Table { public int Id {get;set;} public string ChildName {get;set;} }
=====================================
Parent List
Id Name ChildName 1 Sample SimpleChildName