On 11/28/05, Sean Davis <[EMAIL PROTECTED]> wrote:
> My::DB::GMain is the class name, so I expected gmains.  In practice, I
> looked a the loader code and it is using the ACTUAL table name

Yeah, hm, I've changed my mind a bit.  How about this instead of the
method I describe din my last email:

---

=item B<auto_manager_base_name TABLE, CLASS>

Given a table name and the name of the L<Rose::DB::Object>-derived
class that fronts it, return a base name suitable for use as the value
of the C<base_name> parameter to L<Rose::DB::Object::Manager>'s
L<make_manager_methods|Rose::DB::Object::Manager/make_manager_methods>
method.  The default implementation simply returns the table name.

---

That seems more flexible.

-John


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to