DbBatch.Connection Property

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets or sets the DbConnection used by this DbBatch.

C#
public System.Data.Common.DbConnection? Connection { get; set; }

Property Value

The connection to the data source.

Applies to

Product Versions
.NET 6, 7, 8, 9, 10