I am working on one ASP MVC4 + Silverlight application. My application requirement is to communicate with all type of databases like MySQL, MSSQL and Oracle. I am thinking of using any standard WCF design pattern, so that my interface will be same but implementations will be different.
Can anyone suggest me what is the good design pattern to achieve this, it would be also helpful for me if anyone shared me a bit of code.
One more question is shall i go with WCF REST services or WCF will be ok in this scenario? The important thing here is my service is going to communicate with both the ASP.NET and Silverlight applications.
Thanks in Advance.