I am working on a personal project (C # / ASP.NET) that will use LINQ to SQL. The solution will have (for now) a Webform project, a namespace project (business logic), and a Tests project. I am at a very early stage so far (obviously at the design stage).
Is there a paradigm for 3-tier architecture? It seems that DAL is completely useless in this case; It looks like I should execute the LINQ query directly from the business logic.
It also occurs to me that if I just leave one resident DataContext and pass it on, I only need one open connection. This will have the added benefit of making changes immediately, rather than granularly. Any thoughts on this?
I found this topic , but it seems he is painting an incomplete picture. Are there any detailed articles on this?
tsilb source
share