{"id":284,"date":"2007-07-25T13:09:58","date_gmt":"2007-07-25T12:09:58","guid":{"rendered":"http:\/\/www.itwriting.com\/blog\/?p=284"},"modified":"2007-07-25T13:09:58","modified_gmt":"2007-07-25T12:09:58","slug":"linq-customers-are-massively-confused","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/284-linq-customers-are-massively-confused.html","title":{"rendered":"LINQ: &#8220;Customers are massively confused&#8221;"},"content":{"rendered":"<p>I&#8217;ve just completed an article for <a href=\"http:\/\/www.hardcopymag.com\/\" target=\"_blank\">Hardcopy magazine<\/a> on database APIs &#8211; it&#8217;s for a forthcoming issue so the piece is not online yet. I interviewed Mark Troester, senior manager of product marketing at <a href=\"http:\/\/www.datadirect.com\" target=\"_blank\">DataDirect<\/a>, and he gave me some interesting comments on LINQ (Language Integrated Query), Microsoft&#8217;s new database extensions for&nbsp;the .NET Framework.<\/p>\n<blockquote>\n<p>There\u2019s a lot of confusion out there because there is LINQ to SQL and LINQ to the entity model, and the LINQ to SQL stuff that has just got released in beta is specific to SQL Server, so Microsoft needs to do some work in terms of getting things better organized. I think their argument would be that they need a lot of flexibility, but from what we see when we talk to customers, people are just massively confused.<\/p>\n<\/blockquote>\n<p>As I continued my research I could see what he meant. What I think is the <a href=\"http:\/\/msdn2.microsoft.com\/en-us\/netframework\/aa904594.aspx\" target=\"_blank\">official home page<\/a> has plenty of resources, but it&#8217;s a bit of a mess. If you click the <a href=\"http:\/\/forums.microsoft.com\/MSDN\/ShowPost.aspx?PostID=307705&amp;SiteID=1\" target=\"_blank\">link to the FAQ<\/a>&nbsp;&#8211; actually a forum post &#8211; you find it dates from March 2006 and talks about DLINQ, which is now an obsolete term (I think). The <a href=\"http:\/\/msdn2.microsoft.com\/en-us\/library\/bb308959.aspx\" target=\"_blank\">project overview<\/a> is pretty good, but gets you deep into Lambda Expressions and Extension Methods without mentioning important practical issues like the fact that LINQ to SQL seems to be exclusive to SQL Server. This unfortunate fact is <a href=\"http:\/\/blogs.msdn.com\/charlie\/archive\/2007\/05\/21\/c-linq-to-sql-chat-for-monday-may-21-2007.aspx\" target=\"_blank\">confirmed by Microsoft here<\/a>:<\/p>\n<blockquote>\n<p><b>Q: <\/b>It was mentioned that there is currently no LINQ to SQL support for Oracle or MySQL databases.&nbsp; Will it be possible for developers to implement their own SqlProvider implementations for these database engines?<br \/><b>A: <\/b>We don&#8217;t really have a provider model or provider writers&#8217; SDK in this release (Orcas). So it is possible to build a LINQ provider similar to LINQ to SQL; but unfortunately, in this release, we won&#8217;t be able to offer much to make that as simple as we would like.<\/p>\n<\/blockquote>\n<p>Of course you could still use LINQ to DataSet with Oracle or MySQL data &#8230; see why it gets confusing?<\/p>\n<p>By contrast, I like Granville Barnett&#8217;s <a href=\"http:\/\/dotnetslackers.com\/articles\/csharp\/IntroducingLINQ1.aspx\" target=\"_blank\">Introducing LINQ<\/a> series (though not the pop-up ads), which takes a hands-on approach, as does Scott Guthrie&#8217;s <a href=\"http:\/\/weblogs.asp.net\/scottgu\/archive\/2007\/07\/16\/linq-to-sql-part-5-binding-ui-using-the-asp-linqdatasource-control.aspx\" target=\"_blank\">LINQ to SQL series<\/a>&nbsp;(the link is to part 5, but it references the other articles). <\/p>\n<p>I also highly recommend Matt Warren&#8217;s <a href=\"http:\/\/blogs.msdn.com\/mattwar\/archive\/2007\/05\/31\/the-origin-of-linq-to-sql.aspx\" target=\"_blank\">blog post on The Origin of LINQ to SQL<\/a> and the interesting&nbsp;comments.<\/p>\n<p>LINQ&nbsp;looks&nbsp;compelling; I hope Microsoft manages to improve the clarity of its&nbsp;LINQ&nbsp;information soon.<\/p>\n<div class=\"wlWriterSmartContent\" id=\"0767317B-992E-4b12-91E0-4F059A8CECA8:483ac1df-a095-462c-8577-9d963d1d0d4e\" contenteditable=\"false\" style=\"padding-right: 0px; display: inline; padding-left: 0px; padding-bottom: 0px; margin: 0px; padding-top: 0px\">Technorati tags: <a href=\"http:\/\/technorati.com\/tags\/linq\" rel=\"tag\">linq<\/a>, <a href=\"http:\/\/technorati.com\/tags\/orcas\" rel=\"tag\">orcas<\/a>, <a href=\"http:\/\/technorati.com\/tags\/visual%20studio%202008\" rel=\"tag\">visual studio 2008<\/a>, <a href=\"http:\/\/technorati.com\/tags\/datadirect\" rel=\"tag\">datadirect<\/a>, <a href=\"http:\/\/technorati.com\/tags\/sql%20serve\" rel=\"tag\">sql serve<\/a>, <a href=\"http:\/\/technorati.com\/tags\/oracle\" rel=\"tag\">oracle<\/a>, <a href=\"http:\/\/technorati.com\/tags\/mysql\" rel=\"tag\">mysql<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve just completed an article for Hardcopy magazine on database APIs &#8211; it&#8217;s for a forthcoming issue so the piece is not online yet. I interviewed Mark Troester, senior manager of product marketing at DataDirect, and he gave me some interesting comments on LINQ (Language Integrated Query), Microsoft&#8217;s new database extensions for&nbsp;the .NET Framework. There\u2019s &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/284-linq-customers-are-massively-confused.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">LINQ: &#8220;Customers are massively confused&#8221;<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-284","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/284","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/comments?post=284"}],"version-history":[{"count":0,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/284\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=284"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=284"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}