85e0648 13 years ago
1 contributor
19 lines | 0.274kb
package MyDBI1;

use strict;
use warnings;

use base 'DBIx::Custom';

sub connect {
    my $self = shift->SUPER::connect(@_);
    
    $self->include_model(
        MyModel1 => [
            'book',
            {class => 'Company', name => 'company'}
        ]
    );
}

1;