Login Skip Navigation LinksWilsonORMapper > Forums Search
Demo Version Demo Version
Download and try for yourself a fully working demo version, including sample apps and documentation.  The only limitation is that the demo version only works inside the debugger.

PayPal Subscribe
Get It All for $50 USD:
WebPortal, ORMapper,
Source Code, All Updates
PayPal

User Login User Login
Log In
 
 
Reset Password

Wilson ORMapper Forums Wilson ORMapper Forums : Bugs & Issues : IList vs List

Date Post
9/10/2007 9:56:13 PM I just ran into an issue with one of my applications:

When the mapped member in a OneToMany relationship is List<T> it ignores the lazyLoad attribute and loads it anyway.  When setting the member type to IList<T> it does in fact lazy load. 

Not sure if this is by design or not, but it might help others chase down performance problems.
9/12/2007 2:04:52 PM

As far as I know --- you should use IList<T> (or ObjectSet<T>, which implements IList<T>) if you want lazy-loading. List<T> will not support this.