tag:blogger.com,1999:blog-21172681.post6310517216565685349..comments2023-10-25T23:39:10.162+13:00Comments on Software Development and stuff: Linq to SQL : where are the n-Tier examples?KiwiBastardhttp://www.blogger.com/profile/06464945422472093454noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-21172681.post-70478134408671832192008-11-03T19:39:00.000+13:002008-11-03T19:39:00.000+13:00extensive work is done in this front in the tutori...extensive work is done in this front in the tutorial by Microsoft - vs2008 and .net3.5 kit, they have used dinner now example.<BR/><BR/>little googling required<BR/>http://www.microsoft.com/downloads/details.aspx?FamilyID=8bdaa836-0bba-4393-94db-6c3c4a0c98a1&DisplayLang=en<BR/><BR/>enjoy and regards,<BR/>prabhjotAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-21172681.post-21965870631262119822008-03-18T02:34:00.000+13:002008-03-18T02:34:00.000+13:00Hi, I'm in the same boat - the rose-tinted "LINQ t...Hi, I'm in the same boat - the rose-tinted "LINQ to SQL" glasses are off and I'm hitting issues using it in the real-world in a tiered environment.<BR/>I did read somewhere (possibly Scott Gu's blog) that there would be a VS2008 extension out this year to support LINQ to SQL across tiers but I can't find the article now, and I haven't seen it mentioned anywhere else. Does anyone have any more info?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-21172681.post-36194320712257612852007-12-19T10:10:00.000+13:002007-12-19T10:10:00.000+13:00Hi KB,I've been digging around as this is somethin...Hi KB,<BR/><BR/>I've been digging around as this is something that I'm having issues with too. Namely now that I've managed to progress beyond the "ZOMG LINQ is SOOO Cool!!!" phase I'm coming to terms with the realisation that there are some serious limitations in what you can do with it.<BR/><BR/>It seems as though originally LINQ to SQL had as one of its objectives the idea of supporting some kind of n-tier architecture but I suspect that they decided that it was going to be too difficult in terms of managing objects over remoting links etc. Apparently Dinesh Kulkarni from the LINQ to SQL team admits that there is "no n-tier story in LINQ to SQL" (<A HREF="http://oakleafblog.blogspot.com/2007/10/linq-to-sql-has-no-multi-tier-story.html" REL="nofollow">Here via Oakleaf</A>)<BR/><BR/>Here is an interesting post from <A HREF="http://blogs.msdn.com/kfarmer/archive/2007/11/06/linq-and-3-tier-dogma.aspx" REL="nofollow">Keith Farmer</A> which suggests that we are in danger of putting the pattern before common sense and that maybe a new look with fresh eyes is required.<BR/><BR/>I've looked at LINQ to Entities and haven't found it to be much different in terms of the n-tier limitations (but solves the complex entities problem with L2SQL that you mentioned in an earlier post) and comes with a whole bunch of buglets and wrinkles that make using it a bit hairy at the moment. What I'd be happy with is the ability to define the entities in a separate assembly OR the ability to use a tool to automatically generate intelligent presentation side classes which can supply the change state info etc which are derived from the "contract" on the business layer or something.<BR/><BR/>Crikey that was long... probably should have been a blog post in itself!<BR/><BR/>IrvAnonymousnoreply@blogger.com