Back to list
Views:   4.9K
Replies:  1
Archived

Design pattern to implementing different database?

Hi,

I need to design the application in such a way that it can handle different database as well extend the function in future to communicate with the external system also.

What design pattern should i follow ?

Thank.

Abhishek Ranjan, May 28, 2014
Reply 1
I would create a separate Data Objects project for each data access layer you need, and then have a corresponding connectionString section in your web.config that points to the appropriate data access layer.

Example:
  1. Data Objects 1 would point to SQL Server
  2. Data Objects 2 would point to Oracle

I hope this makes sense. 

King Wilder

King Wilder, Sep 21, 2014
Dan, will the 4.5 release follow the same layout as the 4.0 release with a full solution(source code) to follow along with? Thanks Dennis
Feb 26, 2013


Stay Inspired!
Join other developers and designers who have already signed up for our mailing list.
Terms     Privacy     Licensing       EULA       Sitemap      
© Data & Object Factory, LLC.
Made with    in Austin, Texas