• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
If an Editing Context is disposed off?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Prev by Date: Re: WebObjects and HTML injection
  • Next by Date: Inverse to-one relationships
  • Previous by thread: Re: WebObjects and HTML injection
  • Next by thread: Inverse to-one relationships
  • Index(es):
    • Date
    • Thread