Welcome to Bilal Haidar [MVP, MCT] Official Blog Sign in | Join | Help

LINQed & LAYERED

My article, LINQed & LAYERED: Implement CRUD Operations with LINQ in Three-tier ASP.NET Applications, is now published on www.aspnetpro.com June 2008 issue as the COVER STORY of the issue!

It was a great honor for me to have my first article to www.aspnetpro.com published as a cover story.

I hope you enjoy reading it and if you have any comments please do contact me! You can download the June 2008 issue as PDF following this link: http://www.aspnetpro.com/PDF/Issues/aspJUNE2008.pdf

 

Regards 

Published Friday, June 06, 2008 8:37 AM by BilalHaidar [MVP]

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# re: LINQed & LAYERED

Congradulations

Friday, June 06, 2008 11:33 PM by Bashar Kokash

# re: LINQed & LAYERED

Thank you Bashar!

Regards

Saturday, June 07, 2008 1:48 AM by BilalHaidar [MVP]

# re: LINQed & LAYERED

I just read the article, great stuff. I'm currently using LinqToSql for a 3 tier system, just as you described. Your article is a great explanation of what I'm doing.

The added bonus I've discovered is prototyping things by just hooking up web controls using the LinqDataSource. Switching to the ObjectDataSource later after showing the prototype to the customer and better defining business rules.

However, my current dilemma is how to handle multi-table objects. I've got information (mainly for display) in 2 separate tables, linked by a join table (of PKs). How do I get information from these tables into a gridview (actually RadGrid, love those tools too!)

I'm figuring-

1. Create Stored procedures in the database and add those to the DBML. Or are views seen by LinqToSql?

2. Extend the DAL. Add some custom code to extend the join table to include fields from the other tables (not just PKs).

3. Suck it up, switch to objectdatasource and have the business layer piece everything together.

thoughts?

maybe there's a future article for you.

thx.

john.

Friday, June 20, 2008 8:47 AM by John Summers

Leave a Comment

(required) 
required 
(required)