Hi,

On Mon, 3 Mar 2008 07:32:00 -0500
Blake Nicholson <[EMAIL PROTECTED]> wrote:

BN >| (Note: I originally sent this to help-gnustep, but my message neither  
BN >| went through nor bounced.  I apologize in advance if people end up  
BN >| receiving duplicates.)
BN >| 
BN >|  From what class should custom enterprise objects inherit, NSObject or  
BN >| EOGenericRecord?  I've tried both ways and have not been successful  
BN >| running the following code snippet:

I usually use, with ESJob inheriting from EOGenericRecord:
EOClassDescription*  cd=
  [EOClassDescription classDescriptionForClass:[ESJob class]];
ESJob* myJob=[cd createInstanceWithEditingContext:ec
          globalID:nil
          zone:NULL];  
http://developer.apple.com/documentation/legacytechnologies/webobjects/webobjects_4.5/System/Library/Frameworks/EOControl.framework/Java/Classes/EOClassDescription.html


Your code seems correct if I refer to
http://www.omnigroup.com/mailman/archive/eof/1997/002220.html
so it seems there's a bug in gdl2.


Manuel 


_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to