Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
My project is developed in Asp.net Mvc and MySql, i want to change database to Sql Server.

How it is possible using Interface? Please provide a solution?
Posted
Comments
Sergey Alexandrovich Kryukov 4-Aug-14 3:13am    
What interface? What are you really talking about? If you "developed Asp.net Mvc and MySql" but don't know how to modify a database and poorly familiar with interfaces, you really did not develop anything, no. The question simply makes no sense.

To change database (and to use it in ASP.NET in general) use ADO.NET.

—SA
AnupamaLR 4-Aug-14 6:36am    
hi Mr: SA
I have found my answer.

It is very simple. If you are using Interface we don,t have much effort for changing databases. Simply override the functions in interface or we can follows factory design pattern.
thatraja 3-Sep-14 6:45am    
Share the details completely, write an article here

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900