Select from following answers:- Connect using the .NET Framework Data Provider for OLE DB.
- Connect using generic data access components created by a DbProviderFactory instance.

- Connect using the .NET Framework Data Provider for ODBC.
- All Above
Using DbProviderFactory lets you write provider-independent code and choose the provider at run time. When you create a DbProviderFactory instance, passing it information about the provider along with the connection string, the instance can determine the correct strongly typed object to return, based on the information it has been given. This lets you write code that does not depend on the data provider.
Show Correct Answer
Source: MeasureUp.com | |
Alert Moderator