DbConnection.CreateBatch Method

Definition

Returns a new instance of the provider's class that implements the DbBatch class.

public:
 System::Data::Common::DbBatch ^ CreateBatch();
public System.Data.Common.DbBatch CreateBatch ();
member this.CreateBatch : unit -> System.Data.Common.DbBatch
Public Function CreateBatch () As DbBatch

Returns

A new instance of DbBatch.

Applies to