Jan 25, 2007 - 08:37 AM
I was basically calling Update with a new object, instead of calling Save.
This happened because I have a generic Save method that checked if the object ID is 0, and if it is, it will Save, otherwise Update the object. But the problem was that this object didn't have an autonumeric identifier in the database, so even if it was new, it had a fixed Id, different from 0.
hmm, can't really blame anyone else than myself for this... :)