I am learning the Entity framework and linq-to-entity.
You can get cross-values ββfrom multiple tables using JOINS (the join keyword) or using the navigation (association) fields, in which case the structure knows how to reference the cross-data.
My question is what to use when?
My $ 0.02: always use navigation whenever you can. Do not use joinin LINQ to Entities or LINQ to SQL unless you are forced to. I explain this in more detail, with examples:
join
join LINQ to SQL LINQ , ,
Source: https://habr.com/ru/post/1744250/More articles:Android SQLiteDatabase.rawQueryWithFactory, editTable parameter - androidIs it possible to access JSON properties with relative syntax when using certain JSON functions? - jsonAsynchronous tee - linuxSSL Cert.p12 at .net - ibm-mqFluentNHibernate: multiple one-to-many relationships between the same objects - .netScala Eclipse IDE suddenly ignores breakpoints - debuggingC # equivalent of typeof for fields - reflectionHow to set itemsource? - visual-studio-2010Custom Rules JUnit - junitRecommendations for updating the build server - linuxAll Articles