Skip to content

Instantly share code, notes, and snippets.

@kaanacar34
kaanacar34 / gist:0272b266bd71882307da39be5739dcee
Created Aug 20, 2020
DAPPER MULTIPLE MAPPING THREE LEVELS
View gist:0272b266bd71882307da39be5739dcee
public class Category
{
public int CategoryId { get; set; }
public string CategoryName { get; set; }
public ICollection<Product> Products { get; set; }
}
public class Product
{
public int ProductId { get; set; }