Top "Eager-loading" questions

Eager loading is a way to load objects of a certain class and a number of named associations in the same request.

Entity Framework - Include Multiple Levels of Properties

The Include() method works quite well for Lists on objects. But what if I need to go two levels deep? …

c# entity-framework eager-loading
Eloquent eager load Order by

I have problem with eloquent query. I am using eager loading (one to one Relationship) to get 'student' With the …

laravel laravel-4 eloquent eager-loading
Laravel Eloquent: eager loading of multiple nested relationships

What laravel says: $books = App\Book::with('author.contacts')->get(); What I need is something like this $books = …

laravel eloquent eager-loading
How addSelect() Builder method works in Laravel

Say I have these models: User Model namespace App; use Illuminate\Database\Eloquent\Model; class User extends Model { /** * The table …

php laravel laravel-5 eager-loading
How do I eagerly Include the child and grandchild elements of an entity in Entity Framework Code First?

Imagine three entities (Customer, Book, Author) related like this: A Customer has many Books A Book has one Author I …

entity-framework ef-code-first eager-loading
Force eager loading of otherwise lazy loaded properties

I've got a Hibernate object which's properties are all loaded lazy. Most of these properties are other Hibernate objects or …

java hibernate lazy-loading eager-loading
Eager Loading Using Fluent NHibernate/Nhibernate & Automapping

I have a requirement to load a complex object called Node...well its not that complex...it looks like follows:…

nhibernate fluent-nhibernate eager-loading automapping
Fetch vs FetchMany in NHibernate Linq provider

NHibernate eager loading can be done using Fetch and FetchMany, as described in NHibernate Linq Eager Fetching on Mike Hadlow's …

linq nhibernate fetch eager-loading
How to Determine if Rails Association is Eager Loaded?

Does anyone know a way to determine if a Rails association has been eager loaded? My situation: I have a …

ruby-on-rails activerecord eager-loading
Serialize Entity Framework object with children to XML file

I'm querying data with parent/child result sets using Entity Framework and I want to export this data to an …

entity-framework xml-serialization entity eager-loading xmlwriter