Is there a way to define eager loading per entire data context, so I could state something like this — “when using this data context when loading Customer always load associated City as well”?
So, something very similar to Options and LoadWith in Linq to Sql.
No Entity framework doesn’t offer equivalent to
DataLoadOptionsavailable in Linq-to-Sql. There is no way to define something likeLoadWithorAssociateWithglobally.