I have a windows form application(c#) and an asp.NET web application which both access Sql Server database. I want to centralize the database access. Which metedologies should i follow? What is the common approach to this issue?
- Writing DAL and Model Libraries and using them in both application?
- Writing WCF service including DAL model and using this service with both applicaiton?
- None of the above?
Can you give me any idea?
Thank you.