DbConnection.CanCreateBatch 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 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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.