DbProviderFactory.CanCreateBatch Property
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 DbProviderFactory 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
true
if this instance supports the DbBatch class; otherwise, false
. The default is false
.
This property returns false
by default; providers that implement DbBatch should override this to return true
.
Product | Versions |
---|---|
.NET | 6, 7, 8, 9, 10 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: