eager-loading
How do I wrap Linq2NHibernate's .Fetch and .ThenFetch inside my abstract repository?
I\'m using a generic repository that exposes an IQueryable<T> like this: public IQueryable<T> AllEntities[详细]
2023-02-07 02:37 分类:问答Eager loading in "both directions"
Eager loading does not work as I expect. I have Products that has_many Variants,开发者_如何学Python and of course each Variant belongs_to a Product.[详细]
2023-02-07 02:24 分类:问答EF CTP5 - Strongly-Typed Eager Loading - How to Include Nested Navigational Properties?
Attempting to cutover our EF4 solution to EF CTP5, and ran into a problem. Here\'s the relevant portion of the model:[详细]
2023-02-06 19:00 分类:问答Singleton with eager initialization
I have class X that takes much time to initialize itself. I want to make that class singleton and force its creation when rails application starts.[详细]
2023-02-03 02:50 分类:问答Using eager loading with specification pattern
I\'ve implemented the specification pattern with Linq as outlined here https://www.packtpub.com/article/nhibernate-3-using-linq-specifications-data-access-layer[详细]
2023-01-29 13:47 分类:问答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 blog.[详细]
2023-01-29 08:42 分类:问答Help Refactoring Entity Framework 4 Query
I have two entities: Location Post It\'s a 1..* between Location and Post. Location is abstract, i have many derived entities such as City. I use Table-Per-Type inheritance for my model.[详细]
2023-01-29 03:52 分类:问答Grails: eager loading doesn't work
I want to access the list of organisations from a user object within the main.gsp: <g:select name=\"effectiveOrganisation\"[详细]
2023-01-27 14:53 分类:问答Cascade eager-loading problem
Supose I have following entities created from database tables: Person Student Student include Person as navigation property.[详细]
2023-01-27 04:57 分类:问答Does GAE Datastore support eager fetching?
Let\'s say I want to display a list of books and their authors.In traditional database design, I would issue a single query to retrieve rows from the Book table as well as the related Author table, a[详细]
2023-01-24 18:04 分类:问答