SqlClientFactory.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 a DbBatch can be created.
public:
virtual property bool CanCreateBatch { bool get(); };
public override bool CanCreateBatch { get; }
member this.CanCreateBatch : bool
Public Overrides ReadOnly Property CanCreateBatch As Boolean
Property Value
true
if a
DbBatch
can be created; otherwise,
false
.
Remarks
The DbProviderFactory class provides the CanCreateBatch property so that inheritors can indicate
whether they can provide a DbBatch. The SqlClientFactory displays this property, but its value is always true
.