On Fri, Jun 26, 2015 at 12:30:49PM +0100, Graeme Geldenhuys wrote: > So here is my question: > > When faced with a new database related project, where do you start? Do > you first design the database schema, then build the BOM (Business > Objects) accordingly? Or, do you first design the BOM, then design the > database schema to fit.
If you want to do ORM per se, define how objects are mapped, and then BOM and schema are fairly equivalent, and are designed in step. But in production circumstances make sure you always can override the mapping so that you can also use existing tables with some custom code. If you have too many preexisting tables, forget about ORM. -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
