eager-loading
NHibernate: How to perform eager subselect fetching of many children & grandchildren (object graph) in a single round-trip to the database?
First, please don\'t try to argue me out of doing the eager load - traversing the object graph and causing (by lazy loading) even more than ONE round-trip to the database is just not an option.[详细]
2023-02-16 14:07 分类:问答Fighting cartesian product (x-join) when using NHibernate 3.0.0
I\'m bad at math but I kind get idea what cartesian product is. Here is my situation (simplified): public class Project{[详细]
2023-02-16 06:44 分类:问答Include() in EF4 using RIA Services Domain Service not loading!
I am having trouble returning multiple entities (eager loading) using the Include() method.I am trying to load the entites in a silverlight application using RIA services.The Data Model consists of th[详细]
2023-02-14 19:17 分类:问答Problem with Eager Loading Nested Navigation Based on Abstract Entity (EF CTP5)
I a portion of my EF model that looks like this: Summary: Location has many Posts Post is an abstract class[详细]
2023-02-14 13:59 分类:问答Good behaviour for eager loading multiple siblings and grandchildren (cousins?) in NHibernate 3.0 Linq
I\'m trying to do the following with NHibernate 3.0\'s LINQ interface. I want to query for an object (using some Where clause), and load some children and grandchildren. Cu开发者_C百科rrently I\'m doi[详细]
2023-02-14 02:33 分类:问答how to 'reload' a collection with an eager load with conditions in rails 2.3?
I\'m maintaining an old rails app written in 2.3(.5 I think). There\'s an inefficient select that\'s resulting in the old N+1 problem that I\'m trying to fix.[详细]
2023-02-13 09:22 分类:问答How can I perform an integration tests to test for eager loaded entities (EF4 Code First)
Here is a simple scenario to explain what I am trying to do.Say I am creating a Blogging engine, and I have 2 entities, Post and Comment, with a 1-to-many relationship between the two.In my service la[详细]
2023-02-10 19:29 分类:问答NHibernate - eager fetch a collection
I\'m creating a HQL query that uses eager fetching for some collections and properties. This is the query:[详细]
2023-02-09 06:19 分类:问答How do I get Rails to eager load counts?
This is related to a question a year and change ago. I put up an example of the question that should work out of the box, provided you have sqlite3 available: https://github.com/cairo140/rails-eager-[详细]
2023-02-08 13:35 分类:问答How to eager load entire database with EF
My database consists of 5 tables with ~10000 rows combined. It takes ~1Mb in SQL Server CE which is on shared folder. The database itself is hierarchical Country-Region-City-Street-Building. I am usin[详细]
2023-02-07 23:27 分类:问答