Update of /cvsroot/modeling/ProjectModeling/Modeling/tests/testPackages/AuthorBooks
In directory sc8-pr-cvs1:/tmp/cvs-serv11763/tests/testPackages/AuthorBooks
Modified Files:
pymodel_AuthorBooks.py
Log Message:
Fixed: columnName were not correct wrt the xml model
Index: pymodel_AuthorBooks.py
===================================================================
RCS file: /cvsroot/modeling/ProjectModeling/Modeling/tests/testPackages/AuthorBooks/pymodel_AuthorBooks.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** pymodel_AuthorBooks.py 9 Jul 2003 11:41:15 -0000 1.3
--- pymodel_AuthorBooks.py 24 Jul 2003 16:45:50 -0000 1.4
***************
*** 8,11 ****
--- 8,12 ----
from Modeling.PyModel import *
+ raise 'do not use'
##
***************
*** 33,38 ****
#
Entity('Book',
! properties=[ APrimaryKey('id', isClassProperty=1),
! AString('title', isRequired=1),
AFloat('price'), ],
),
--- 34,40 ----
#
Entity('Book',
! properties=[ APrimaryKey('id', isClassProperty=1,
! columnName='id'),
! AString('title', isRequired=1, columnName='title'),
AFloat('price'), ],
),
|