Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto increase number
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00853567
Message ID:
00858092
Vues:
19
This leads back to my original statement of "What's the value of doing this?". Yes, if you put this in the presavehook of the business object, you would now have "holes", if and only if, a save 'failed' and the new id number would not be 'rolled back'. You would also, theoretically, have this event stored in the errorlog table if this did happen, so the 'holes' would have some sort of audit trail to provide an explanation. Is this good enough? Only you know this answer.

As I mentioned, I did not invest the time and effort into changing this part of the framework, so I cannot advise how to get this into the TRANSACTION boundary. If you want to go forward with this, I'm sure someone else would be able to give you good advice here on the UT.

Good luck!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform