Click here to Skip to main content
15,887,776 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to implement one project with the use of N-tire architecture, and i do not want to use sql queries, but i want to use dbml and linq to sql.

so please help me and provide me suggestion or if any sample...
Posted

1 solution

Hi,
Well, this is my personal experience while using Linq-To-Sql. I had 3 class libraries in addition to a web-application. In the first class library I defined my DBMLs, in the second one, business logic and Data Objects(classes which connected to DBMLs) and in the third one, my asp.net forms and code behines. The last class library was assigned to Common classes and utilities. That was a very simple but effective architecture:
1- DAL--> DBMLs
2- BAL--> Connect to DBMLs and application logics
3- Common--> Utility classes
4- Web application


I hope it helps,
Cheers
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900