Friday, February 1, 2013

LimsTransactions

Just a short note on these two short but very important pieces of code.

BeginLimsTransaction()

EndLimsTransaction()

Both of these fellow are worth their weight in gold when it comes to performing updates, inserts or deletes.  Like they sound like, they wrap your transactions to the database.

Use them!  

Even for single actions, use them!  Most especially, though, use them for anything complex or anything with dependencies.


No comments:

Post a Comment