Hello All.. I am trying to develop a auditing module for my application without using triggers in .NET. As my application updates multiple tables in a transaction i want to get the transaction ID when i say BeginTransaction before the update . By transaction ID i mean the ID that the SQL server generates which is unique.
look at the transaction ID field in this when you execute this command
DBCC Log(<databasename>
is there any way to get this transaction id in sql server or .net
Thanks
Gaja