[Adapdev-commits] Adapdev/src/Adapdev.CodeGen NVelocityTableCodeTemplate.cs,1.12,1.13
Status: Beta
Brought to you by:
intesar66
From: Sean M. <int...@us...> - 2005-12-09 05:30:42
|
Update of /cvsroot/adapdev/Adapdev/src/Adapdev.CodeGen In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6721/src/Adapdev.CodeGen Modified Files: NVelocityTableCodeTemplate.cs Log Message: Fixed bug w/ NVelocity generated update statement Added support for many-to-many associations in ForeignKeyAssociation Index: NVelocityTableCodeTemplate.cs =================================================================== RCS file: /cvsroot/adapdev/Adapdev/src/Adapdev.CodeGen/NVelocityTableCodeTemplate.cs,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** NVelocityTableCodeTemplate.cs 16 Nov 2005 07:01:47 -0000 1.12 --- NVelocityTableCodeTemplate.cs 9 Dec 2005 05:30:30 -0000 1.13 *************** *** 196,200 **** foreach (ColumnSchema ci in ts.SortedColumns.Values) { ! if (!ci.IsAutoIncrement && ci.IsActive) query.Add(ci.Name); } --- 196,200 ---- foreach (ColumnSchema ci in ts.SortedColumns.Values) { ! if (!ci.IsAutoIncrement && !ci.IsPrimaryKey && ci.IsActive) query.Add(ci.Name); } |