Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lazy Properties in NHibernate
Message
De
27/01/2010 11:21:52
 
 
À
27/01/2010 10:30:30
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Produits tierce partie
Divers
Thread ID:
01446159
Message ID:
01446175
Vues:
45
>New feature coming to NHibernate: http://ayende.com/Blog/archive/2010/01/27/nhibernate-new-feature-lazy-properties.aspx
>
>Does EF have this functionality available?

Looks like it's in EF in .NET 4 - but I haven't tried it

One thing I noticed in the link:

"What about multiple lazy properties? NHibernate support them, but you need to keep one thing in mind. NHibernate will load *all* the entity’s lazy properties, not just the one that was immediately accessed."

Not sure whether this is a good thing or a bad thing - bottom line is it will depend on the circumstances but there's nothing you can do about it. Also I've no idea whether EF will have the same behaviour.......
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform