SqlBatch.DbTransaction Property

Definition

Gets or sets the SqlTransaction within which this SqlBatch object executes.

C#
protected override System.Data.Common.DbTransaction DbTransaction { get; set; }

Property Value

The transaction within which a batch of a ADO.NET data provider executes. The default value is a null reference (Nothing in Visual Basic).

Applies to

Produkt Verzie
SqlClient .NET Core 5.2