[Modeling-users] Foreign Keys
Status: Abandoned
Brought to you by:
sbigaret
|
From: Yannick G. <yan...@sa...> - 2003-07-21 14:28:27
|
=2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 ? Since I switched to raw fetches, I end-up with a dict that is unusable with= =20 addObjectToBothSidesOfRelationship(). In fact, having=20 addObjectToBothSidesOfRelationship() accept snapshots would be nice. : ) =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/QLrhy5Fqn/MRARAk+sAKCPb/V7taerW4PV+EANdlJO5THjjACdFLIF NXkbx6p/zR6iOiXGWLi+hc4=3D =3DueUZ =2D----END PGP SIGNATURE----- |