Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lazy Properties in NHibernate
Message
From
27/01/2010 11:21:52
 
 
To
27/01/2010 10:30:30
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Third party products
Miscellaneous
Thread ID:
01446159
Message ID:
01446175
Views:
46
>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.......
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform