EDUDOTNET

Thursday, May 8, 2014

Entity Framework 4 - What is the syntax for joining 2 tables then paging them?

Example of joining two tables - Entity Framework var data = db.Categorie .Join(db.CategoryMap, cat => cat.CategoryId, catmap => catmap.ChildCategoryId, (cat, catmap) => new { Category = cat, CategoryMap = catmap }) .Select(x => x.Category);   See more details : http://stackoverflow.com/...