[fpc-pascal] Re: How to make class constructor body calls descendant's overriden method/property?
leledumbo
leledumbo_cool at yahoo.co.id
Sun Nov 18 06:13:39 CET 2012
> Tell the user of the framework to do something like this for every
> class of your model:
>
> initialization
> TUser.RegisterClass;
> TProduct.RegisterClass;
> ...
>
> or
>
> initialization
> RegisterClasses([TUser, TProduct, ...]);
Seems like this is the most feasible way, there should be an internal data
structure that maps registered classes with their respective table name.
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/How-to-make-class-constructor-body-calls-descendant-s-overriden-method-property-tp5711994p5711997.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal
mailing list