score:3
Accepted answer
just use the existing navigation properties.
context
.application
.include("applications_servers")
.include("applications_servers.server")
this should eager load all associated applications_servers
and server
entities.
Source: stackoverflow.com
Related Query
- EF Code first Eager loading and OrderBy problem
- Linq for NHibernate and fetch mode of eager loading
- How does LINQ expression syntax work with Include() for eager loading
- The Include path expression must refer to a navigation property defined on the type.in eager loading
- Disable all lazy loading or force eager loading for a LINQ context
- Linq/EF, Eager loading and GROUP BY issues
- FirstorDefault() causes lazy loading or eager loading for linq to sql
- Why is my code doing lazy loading even after I turned it off at every possible point?
- Entity Framework 4: Eager Loading (Include) with filters using Self Tracking Entities
- Simple Eager / Lazy loading examples in linq2sql
- LINQ Source Code Available
- Using eager loading with specification pattern
- .NET 4 Code Contracts: "requires unproven: source != null"
- Entity Framework - Efficient eager loading with long chains of dependent objects?
- LINQ eager loading | doesn't find method "include"
- Entity Framework - Eager loading with filter?
- creating Linq to sqlite dbml from DbLinq source code
- Entity Framework 4.3 - Polymorphic Query With Eager Loading
- Eager Loading "No coercion operator is defined between types" after .NET Core/EF Core 2.0 Upgrade
- Changing value works with eager loading but not lazing loading in linq and ef
- Eager Loading in .Net4 Link-to-EF; maybe like DataLoadOptions
- Eager loading related entities from a table-valued function in NHibernate
- LINQ to Entity Framework Many-Many Eager Loading issue
- Eager loading in ASP.NET MVC 3 (Entity Framework)
- Linq with Entity Framework Eager Loading
- Eager loading in EF1.0
- Lazy loading, eager loading or explicit loading in case of multiple joins?
- How to make an eager loading and left join?
- c#, eager loading collection of collection with Nhibernate (QueryOver or Linq) return "cannot simultaneously fetch multiple bags"
- Will eager loading a Linq to Entity query before rendering my view slow things down?
More Query from same tag
- LINQ how to use "group by" to simplify lists with duplicate attributes
- Convert linq expression from method syntax to query syntax
- mvc fill dropdownlist
- How to do nested group by using linq?
- LINQ start and stop segments in list of List<T> elements
- How to Convert Row to Column in Linq and SQL
- How do I subgroup a group in linq?
- How to retrieve a List of Lists of strings that are not null or whitespace from a DataGridView using Linq
- How to express in LINQ, an SQL OrderBy clause over two fields
- LINQ to extract duplicate data more than 3
- RavenDB OrderByDescending and Take - Incorrect Results
- How do I access things returned by GroupBy
- How to turn this Func into an expression?
- Group , Sort List of Tuple with Linq
- Compare two generic type in linq to sql
- How can do an invariant .Contains(myQuery) with Linq to Objects?
- Flatten a KeyValuePair<string, List<string>> object using linq
- Linq issue, Unable to get expected data C#
- Generate list of string from list of objects
- Convert SQL date to dd-mmmm-yyyy C#
- How do I use ."Include" on a Service Operation for ADO.Net Data Services
- Using the Except clause for two DataTable objects
- LINQ to JSON - Setup list from different arrays
- Select only few columns from a table to map with Odata Select query on C# Web API
- C# Show certain rows from a table
- Empty namespace using Linq Xml
- running total by linq : place results in paged List
- linQ query joining multiple tables
- String.StartsWith not working with tilde ("~") characters LINQ to SQL?
- Combining a join and a complex select in LINQ