If an Editing Context is disposed off?
If an Editing Context is disposed off?
- Subject: If an Editing Context is disposed off?
- From: Farrukh Ijaz <email@hidden>
- Date: Thu, 22 Jul 2010 14:59:58 +0300
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden