Redigeeri

Jagamisviis:


DbConnection.CanCreateBatch Property

Definition

Gets a value that indicates whether this DbConnection instance supports the DbBatch class.

public:
 virtual property bool CanCreateBatch { bool get(); };
public virtual bool CanCreateBatch { get; }
member this.CanCreateBatch : bool
Public Overridable ReadOnly Property CanCreateBatch As Boolean

Property Value

true if this instance supports the DbBatch class; otherwise, false. The default is false.

Remarks

This property returns false by default; providers that implement DbBatch should override this to return true.

Applies to