See Also

DataContext Class  | DataContext Members

Requirements

Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7

Language

Visual Basic

C#

Show All

See AlsoLanguagesDevart.Data.LinqSend comments on this topic.

Transaction Property

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;}

Remarks

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:

Requirements

Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows 7

See Also

DataContext Class  | DataContext Members

 

 


© 2010 - 2013 Devart. All Rights Reserved.