.net - Data provider to support SqlServer and Oracle -


I am working on an ASP .NET application which uses the .NET 3.5 framework. I have to implement a provider that works well with both Oracle and SQL Server, and hardly MySql, because we are going to sell products to customers who have one of these databases Should also be able to communicate with the person what is the best way to implement this data source? Besides, can someone provide me some sample examples? Thank you.

Why do you want to write a dataproder for all the databases? Just write the configuration that helps in configuring the database for the database specified by selecting the database type and other database properties, and change the app.config file by typing the specified datesteputer into your configurator

< Strong> edit

Here are the ways to use DbProviderFactory, you can find more samples in the web, just use this class instead of the specified squares,


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -