版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/xiaomifengmaidi1/article/details/82503638
其实不用include,
var productList = productCategoryMappingRepository.FindQueryable(a => a.ProductCategoryID == CategoryID).Select(b => b.Product).ToList();
其实不用include,
var productList = productCategoryMappingRepository.FindQueryable(a => a.ProductCategoryID == CategoryID).Select(b => b.Product).ToList();