About separating database layer from UI layer
I am creating a N Tier application in WPF. I wanted to make UI layer and Database layer separate. When it comes to separation of DB layer, I wanted the Db layer to be generic and able to support all databases. I was thinking of using Application Block for this. I just wanted thoughts about the best way of making DB layer generic to support all sorts of databases.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Satish BhatRank #2,496 · 563 reputationPosted Sep 8, 2011, 2:01 AM EDT
Basic way to support multiple data stores is to use the Provider Model Design Pattern. You can do it yourself also.