The ability to disable IEditableObject (prevent data binding from invoking n-level undo) is new in CSLA 3.0. Some people have implemented this change themselves, but this is the first time it is directly in the framework.
I'll be fully documenting the change, and its ramifications, in the 3.0 ebook, but the property you are looking for is DisableIEditableObject, which is a protected property of BusinessBase. Set that to True and call calls to IEditableObject methods are totally ignored.
Be aware that n-level undo itself is "disabled" unless someone calls BeginEdit(). That could be data binding through IEditableObject, or directly by you.
So disabling IEditableObject does effectively "disable" n-level undo as long as you don't call BeginEdit() yourself.
And remember that some UI concepts (like in-place editing in a grid) simply won't work right without IEditableObject.
RockfordLhotka:And remember that some UI concepts (like in-place editing in a grid) simply won't work right without IEditableObject.
Copyright (c) Marimer LLC