On Feb 16, 2004, at 10:11 PM, Steve Steinitz wrote:
> Hello,
>
> My search of the archives didn't yield instructions on inserting a
> custom superclass for our CayenneDataObjects. We would like all
> (or most) of our CayenneDataObjects to have some common methods
> (namely 'all' for retrieving all objects from the database,
> 'objectForID' which takes a primary key, and perhaps other
> methods). Can someone provide a step by step instruction for
> making our _DataObject classes descend from our custom superclass?
Hi Steve,
In the Modeler ObjEntity panel there is a field named "superclass". It
serves exactly this purpose.
Cheers,
Andrus
This archive was generated by hypermail 2.0.0 : Tue Feb 17 2004 - 00:48:43 EST