| Devart.Data.Linq Namespace > DataContext Class : Transaction Property |
Sets a local transaction for the .NET Framework to use to access the database.
[Visual Basic]
Public Property Transaction As DbTransaction [C#]
public DbTransaction Transaction {get; set;}The primary scenario for this property is interoperability with relational ADO.NET code. For example, use this property when you write your own Create/Update/Delete methods to set the Transaction property on the ADO Command object.
Note the following:
Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7
DataContext Class | DataContext Members
© 2010 - 2013 Devart. All Rights Reserved.