Hi,

Is there a way to check if an editing context is disposed so I could create new 
one?

E.g.

private EOEditingContext _editingContext;

public EOEditingContext editingContext() {
        if(_editingContext == null) { // Or _editingContext is disposed off
                _editingContext = ERXEC.newEditingContext();
        }
        return _editingContext;
}

I know I can do _editingContext = null after disposing the editing context but 
is there any alternative or a utility method?

Farrukh _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to