views:

14

answers:

0

Hi everybody!

I was wondering if it is possible to get the "edit-state" of an entity on which has previously "applied" the BeginEdit().

For example: if i call this:

 ((IEditableObject)SelectedRecord).BeginEdit();

is it possible to query and get something like this:

//this is pseudo code, not really existing
((IEditableObject)SelectedRecord).GetEditMode() == Editing

or with a workaround?