Transaction Name

Posts   
 
    
rlattimer
User
Posts: 3
Joined: 30-Mar-2009
# Posted on: 16-Nov-2009 22:38:27   

When starting a transaction in LLBL it requires a Transaction Name. (StartTransaction(string transactionName)). I can't seem to find anything in the documentation about this name.

Does it have to be unique?

Whats the intended purpose of this name?

Thanks in advance, Ryan

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 17-Nov-2009 03:17:39   

Hi Ryan,

Behind the scenes, LLBLGen Pro has to start the transaction on your db provider. It is recommendable to pass both isolation level and a transaction name. On the plumbing, the transaction name parameter can be used in later calls to Rollback and in the save point parameter of the Save method, for example.

For more info: http://msdn.microsoft.com/en-us/library/8aht5dh7.aspx

David Elizondo | LLBLGen Support Team