DbProviderFactory.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 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
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.