Re: [Modeling-users] Foreign Keys
Status: Abandoned
Brought to you by:
sbigaret
From: Yannick G. <yan...@sa...> - 2003-07-21 14:50:40
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On July 21, 2003 10:09 am, Yannick Gingras wrote: > Hi, I'd like to set my foreign keys by hand ex.: > > i18n =3D I18N() > ec.insert(i18n) > i18n.setMasterId(masterSnapshot["id"]) > ec.saveChanges() > > Is there a way to do it without breaking anything ? Of course there is a way, just set the foreign key to be class property. =46orgive me to post before proper re-caffeination ! ; ) =2D --=20 Yannick Gingras Byte Gardener, Savoir-faire Linux inc. (514) 276-5468 =2D----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/G/m1rhy5Fqn/MRARAgBaAJ9QZEVuQOrHf/SpRS0inNS39049egCfZefp 8bSfxHLrCZy6anfU3WZ5itw=3D =3DwXOV =2D----END PGP SIGNATURE----- |