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.
I\'m bad at math but I kind get idea what cartesian product is. Here is my situation (simplified): public class Project{
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
I a portion of my EF model that looks like this: Summary: Location has many Posts Post is an abstract class
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
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.
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
I\'m creating a HQL query that uses eager fetching for some collections and properties. This is the query:
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-
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