I have been using layered architecture since last 2 Years. that contains.
1. Presentation(asp.net)
2. Business
3. Data Layer
4. Entity Objects(while we may/may not merge entity objects layer with DL)
Now, I am thinking to use Linq. never used this before. I wonder where to place it. with couple of questions.
1. I don't want to write inline sql, I prefer to use storedprocedures. Linq support that??
2. If I will replace Data Layer with Linq.will this disturb any other layer??
3. Any sample available with layered architecture+LINQ. Offcourse there are alot of LINQ sample available but a starterkit application with layered architecture+Linq??
I hope, your replies will increase my knowledge about LINQ and layered architecture with LINQ.
Regards,
Azam.
Loading
starazamPosted Jun 18, 2008, 2:56 PM
thanks for the response, I will look on the details and link you provided and will contact back soon.
Regards,
Azam.
Scott LyslePosted Jun 18, 2008, 12:51 PM
Azam:
1. LINQ supports the use of stored procedures.
2. It depends on the code in the data access layer; I have replaced subsonic with LINQ but the code supported doing that.
3. As for the last; I have not seen any great ones. You might want to pay close attention to how LINQ to SQL supports updates of disconnected data before going any further. Check out this blog entry to get a feel for the issues: http://west-wind.com/WebLog/posts/162336.aspx