| 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 |