9. Understanding .NET Data Provider Connectivity : .NET Data Provider Classes : IngresFactory Class
 
Share this page                  
IngresFactory Class
The IngresFactory class helps generate many of the other Ingres classes in an inter-operable data provider model. For each Ingres class that the factory wants to construct, simply call the Ingres constructor for that class and return the object instance.
IngresFactory Class Declaration
The IngresFactory class can be declared as follows:
C#: public sealed class IngresFactory : DbProviderFactory
VB.NET: NotInheritable Public Class IngresFactory
Inherits DbProviderFactory
IngresFactory Class Public Fields
The IngresFactory class has the following public fields:
Field
Description
Instance
The static field containing the single instance of IngresFactory.
IngresFactory Class Public Methods
The public methods available to the IngresFactory class are:
Method
Description
CreateCommand
Creates an instance of IngresCommand using the factory.
CreateCommandBuilder
Creates an instance of IngresCommandBuilder using the factory.
CreateConnection
Creates an instance of IngresConnection using the factory.
CreateConnectionStringBuilder
Creates an instance of IngresConnectionStringBuilder using the factory.
CreateDataAdapter
Creates an instance of IngresDataAdapter using the factory.
CreateDataSourceEnumerator
Always returns null.
CreateParameter
Creates an instance of IngresParameter using the factory.
CreatePermission
Creates an instance of IngresPermission using the factory.