Changeset 2034
- Timestamp:
- 05/04/10 18:10:50 (4 months ago)
- Files:
-
- 1 modified
-
trunk/modules/Dbo/source/create.cl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/Dbo/source/create.cl
r1023 r2034 3 3 [private/dbCreateSimple(db:Db/Database, self:object, updateIdMap?:boolean, dbSimpleProps:list[dbProperty]) : boolean 4 4 -> //[DBOJECTS] dbCreateSimple(self = ~S) // self, 5 if (db.Db/autoStartTransaction? & not(db.Db/onTransaction?)) Db/beginTransaction(db), 5 6 let idProp := getIdProperty(self), // just id 6 7 dbAutoIncrementProperties := getAutoIncrementProperties(self), // no id, just autoincrement … … 51 52 [private/dbCreateWithGenerator(db:Db/Database, self:object, dbProps:list[dbProperty]) : boolean 52 53 -> //[DBOJECTS] dbCreateWithGenerator(self = ~S) // self, 54 if (db.Db/autoStartTransaction? & not(db.Db/onTransaction?)) Db/beginTransaction(db), 53 55 let idProp := getIdProperty(self), // just id 54 56 dbAutoIncrementProperties := getAutoIncrementProperties(self), // no id, just autoincrement
