Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Difference between OldDBDataAdapter and SQLDataAdapter
Message
From
11/01/2006 22:37:20
 
 
To
11/01/2006 21:54:28
General information
Forum:
ASP.NET
Category:
Databases
Miscellaneous
Thread ID:
01085926
Message ID:
01085941
Views:
19
Michel,

Assuming you are using VS2005, you may want to check out provider factories.

Instead of deciding between the SQL provider or the OLE Provider, you can code against the new DbProviderFactory and DbProviderFactories. You'll need to indicate the name of each provider in the machine configuration file. I have an article in the newest issue of CoDe magazine on ADO.NET that devotes a few paragraphs and a code sample to provider factories. (You can also go up to MSDN and search on VS2005 Provider factories).

I have not run any tests myself - but I've talked to a few people who have said the performance should be about the same as if you were using the provider for the desired database. Only thing I'm not sure about is how provider factories handle some of the newest data types across Oracle, SQL, etc. But depending on what you're doing, that may or may not be a factor.

I can't say it will necessarily help, but you could try a test that covers your standard data access stuff and see how it works.



Kevin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform