OleDbFactory Class
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.
Represents a set of methods for creating instances of the OLEDB provider's implementation of the data source classes.
public ref class OleDbFactory sealed : System::Data::Common::DbProviderFactory
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("OleDbConnection is not AOT-compatible.")]
public sealed class OleDbFactory : System.Data.Common.DbProviderFactory
public sealed class OleDbFactory : System.Data.Common.DbProviderFactory
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("OleDbConnection is not AOT-compatible.")>]
type OleDbFactory = class
inherit DbProviderFactory
type OleDbFactory = class
inherit DbProviderFactory
Public NotInheritable Class OleDbFactory
Inherits DbProviderFactory
- Inheritance
- Attributes
Fields
| Name | Description |
|---|---|
| Instance |
Gets an instance of the OleDbFactory. This can be used to retrieve strongly-typed data objects. |
Methods
| Name | Description |
|---|---|
| CreateCommand() |
Returns a strongly-typed DbCommand instance. |
| CreateCommandBuilder() |
Returns a strongly-typed DbCommandBuilder instance. |
| CreateConnection() |
Returns a strongly-typed DbConnection instance. |
| CreateConnectionStringBuilder() |
Returns a strongly-typed DbConnectionStringBuilder instance. |
| CreateDataAdapter() |
Returns a strongly-typed DbDataAdapter instance. |
| CreateParameter() |
Returns a strongly-typed DbParameter instance. |