3.1 IEditableObject issue

May 8, 2012 at 8:59 PM

I just updated my Catel references from 3.0.1 to 3.1.  Now I get an error when building.

My model classes inherit from DataObjectBase through an abstract class I created which excludes the IsDirty and IsReadOnly properties from EntityFramework.

When I build now, I get errors indicating the BeginEdit, EndEdit and CancelEdit methods could not be found and I'm not sure why.  Any ideas?

Coordinator
May 9, 2012 at 4:18 AM

The IEditableObject interface is now implemented explicitly (to have less intellisense garbage). You have to cast before using these methods.

May 9, 2012 at 1:28 PM

OK.  Was this noted somewhere since this breaks existing code?  I don't want to trouble you guys with requests like this unnecessarily.

Coordinator
May 9, 2012 at 5:20 PM

Yes, in the release notes:

http://catel.codeplex.com/releases/view/79601

Search for IEditableObject