[Modeling-users] Some more corrections to the documentation (manual) and some questios
Status: Abandoned
Brought to you by:
sbigaret
From: Ernesto R. <er...@si...> - 2004-02-24 22:56:56
|
Hi, in section 2.4.7.3 RToMany, it says: RToOne objects describe a to-many relationship ... should be RToMany in section 2.4.8 Association : incorrect spelling: shortvut should be = shortcut in section 2.6.3.2 A short example:=20 Now that we now.... should read Now that we know... Question: in secion 2.4.8 Association, in the 'Important' part it says: Association objects always define a to-one association from the first = entity to the second entity, and an inverse to-many relationship from = the second entity to the first one. Is this true, although the multiplicity has no be defined as: multiplicity=3D[ [0, 1], [0, None] ], like multiplicity=3D[ [0, None], [0, 1] ], ? If the foreign key value must not be null, e.g. like the 'customer' = field . for invoices, orders, etc., the multiplicity would be: = [1, 1], [0, None] as in: Association('Invoice', 'Customer', = relations=3D['customer','invoices'], multiplicity=3D[ [1, 1] , [0, None] ], delete=3D['nullify','deny']) ?? Generation of DB-Schema with mdl_generate_DB_schema.py: When I do: python p:mdl_generate_DB_schema.py -c -v -C modelo.py I get: Error: option -C requires --admin-connection-dict 1.) I don't access the DB (-c option) so a admin dictionary should not = be needed. 2.) there is no --admin-connection-dict parameter, only a --admin-dsn = parameter Best regards, Erny |