How to use LINQ in traditional n layer code pattern
Will the linq data context and conceptual model go as a part of DAL or BLL or is it just common rather?
Many thanks
Anubhav
Will the linq data context and conceptual model go as a part of DAL or BLL or is it just common rather?
Many thanks
Anubhav
There are three problems with putting LINQ to SQL in your DAL:
1. Ratio of plumbing code to real code starts to get a bit high.
2. Incorporating business logic within your projections breaks the abstraction.
3. Objects returned by the DAL support lazy fetching, making mockery of your division.
Joe