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 : IObjectSet.Remove method

Date Post
11/28/2007 5:29:52 PM

Since IObjectSet<T> inherits Collection<T>, there is an inherited Remove(T item) method that can be called, thus bypassing the not supported Remove(object entityObject) method in ObjectSet<T>. Is this desired? Does it work (I haven't gotten that far in unit testing)?

If not, this could be fixed by changing the (object entityObject) arguments to (T entityObject) and using the new keyword. To the best of my knowledge, these arguments should be T anyway.

I'm pretty sure I'm looking at the latest source code (SP).

Thanks, Jamie