> 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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to