On Dec 3, 7:39 pm, Michael Bayer [EMAIL PROTECTED] wrote:
On Dec 3, 2008, at 1:26 PM, Guillaume wrote:
Hello,
is there a way with the ORM layer to have abstract base class like in
django ?
http://docs.djangoproject.com/en/dev/topics/db/models/#abstract-base-
classes
sure, just
sure this is called concrete table inheritance. Though when you
make a relation to Order, you need to declare these separately for
CorporateCustomer and PrivateCustomer since the connection from a
relational perspective is different. When concrete inheritance uses
an abc, it
Hello,
is there a way with the ORM layer to have abstract base class like in
django ?
http://docs.djangoproject.com/en/dev/topics/db/models/#abstract-base-
classes
Another somehow related question is there any plan for declarative
base to support inheritance ala django ?
Regards,
Guillaume