DbConnection.CreateDbBatch Method

Definition

When overridden in a derived class, returns a new instance of the provider's class that implements the DbBatch class.

protected:
 virtual System::Data::Common::DbBatch ^ CreateDbBatch();
protected virtual System.Data.Common.DbBatch CreateDbBatch ();
abstract member CreateDbBatch : unit -> System.Data.Common.DbBatch
override this.CreateDbBatch : unit -> System.Data.Common.DbBatch
Protected Overridable Function CreateDbBatch () As DbBatch

Returns

A new instance of DbBatch.

Applies to