IfxProviderFactory class
You can use the IfxProviderFactory class to write provider-independent data access code. After getting an instance of the required provider factory, you can use that provider factory to create instances of the provider-specific data access classes. IfxProviderFactory exposes a series of methods that return these class instances.
You can use the DbProviderFactory class to create a DbProvider instance specifically for the
HCL
OneDB™ invariant,
Informix.Net.Core, as shown in the following
example:
DbProviderFactory factory = DbProviderFactories.GetFactory("Informix.Net.Core");