eager-loading
Includes in a (semi) generic Repository
I am trying to figure out how to use the new EF Code First stuff and I am having trouble figuring out how to adapt the Include functionality into a semi-generic Repository class. (I say semi-generic,[详细]
2023-03-01 03:11 分类:问答Eager fetching of a great-grandchild collection using a Stateless Session via NHibernate
I\'m using an NHibernate Stateless Session to load bulk data into the database. As data is loaded, later entities need to lookup previous entities in order to add them to child collections. This opera[详细]
2023-02-28 04:25 分类:问答Bound FetchMany in Linq to NHibernate
I am using FetchMany for some of my queries and the NHibernate profiler gives me the following error:[详细]
2023-02-26 23:10 分类:问答Hibernate eager loading (fetch all properties does not work)
Basically I want to eager-load properties. I have the following HQL query: SELECT u.id AS id, u.name AS text, u AS obj FROM User AS u fetch all properties[详细]
2023-02-26 04:24 分类:问答Rails: How can I eager load associations with sorting through instance an method?
class Newsroom < ActiveRecord::Base has_many :blog_posts has_many :quote_posts end class BlogPost < ActiveRecord::Base[详细]
2023-02-25 19:14 分类:问答Entity Framework Eager Loading Filter
I have a simple query I want to do like this: 1) Products have ChildProducts which have PriceTiers 2) I want to get all the Products that have a Category with a ID of 1 and Display =开发者_C百科 true[详细]
2023-02-25 15:58 分类:问答Rails ActiveRecord helper find method not eager loading association
I have the following models: Game and Pick. There\'s a one to many association between Game and Pick. There\'s a third model called Player, a Player has many Picks.[详细]
2023-02-22 01:46 分类:问答Making an update in some eager n-to-n relationship appears at both related entities in JPA
What is the best way to change n-to-n relationships between two entities in JPA. Let me explain with an example: suppose I have both an Author and a Book entity, where a Book can have various Authors[详细]
2023-02-19 06:18 分类:问答Problem with include property based on Abstract Entity (EF 4.1)
the LoadProperty is good alternative for Include method... Problem with Eager Loading Nested Navigation Based on Abstract Entity (EF CTP5)[详细]
2023-02-19 05:31 分类:问答How select referenced entity in nhibernate queryover
I Have a entity with a property referencing other entity (ReferenceEntity in examples). With HQL i can do this:[详细]
2023-02-18 08:06 分类:问答