<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.asp.net/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Data Access and ObjectDataSource Control</title><link>http://forums.asp.net/23.aspx</link><description>Questions and discussions related to using ADO.NET for data access, and the ObjectDataSource control. &lt;a href="http://aspadvice.com/SignUp/list.aspx?l=9&amp;c=17" target="_blank"&gt;Email List&lt;/a&gt;</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP1 (Build: 20510.895)</generator><item><title>Re: To LINQ, Or Not To LINQ etc.</title><link>http://forums.asp.net/thread/3426168.aspx</link><pubDate>Fri, 25 Sep 2009 22:28:28 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3426168</guid><dc:creator>jwooley</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3426168.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=3426168</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Dave, it was good to (briefly) see you as well. As for your question, I think you know my answer as to whether LINQ is worth the effort. ;-)&lt;/p&gt;
&lt;p&gt;Jim&lt;br /&gt;&lt;a href="http://www.ThinqLinq.com"&gt;www.ThinqLinq.com&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.TwitterCom/LinqKinq"&gt;www.TwitterCom/LinqKinq&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: To LINQ, Or Not To LINQ etc.</title><link>http://forums.asp.net/thread/3426086.aspx</link><pubDate>Fri, 25 Sep 2009 20:53:42 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:3426086</guid><dc:creator>david wendelken</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/3426086.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=3426086</wfw:commentRss><description>&lt;p&gt;It&amp;#39;s a year and a half later and I&amp;#39;m back in country and doing .Net again.&amp;nbsp; :)&lt;/p&gt;
&lt;p&gt;So, for those of you who bit the bullet on Linq, do you still think it was worth it?&lt;/p&gt;
&lt;p&gt;(And Jim, it was nice seeing you at the Raleigh code camp last weekend.&amp;nbsp; Some things don&amp;#39;t change!&amp;nbsp; :) )&lt;/p&gt;</description></item><item><title>Re: To LINQ, Or Not To LINQ etc.</title><link>http://forums.asp.net/thread/2194586.aspx</link><pubDate>Mon, 25 Feb 2008 18:32:18 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2194586</guid><dc:creator>Wolfeitz</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2194586.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=2194586</wfw:commentRss><description>&lt;p&gt;Jim was good enough to respond to me directly when I submitted through his ThinqLinq web&amp;nbsp;site - much of which has already been added to this post by now.&lt;br /&gt;I actually ended up going out and buying the book he co-authored (&amp;quot;LINQ in Action&amp;quot;) and spent a good chunk of the weekend reading through it.&lt;/p&gt;
&lt;p&gt;My original questions and perspective were quite naieve.&amp;nbsp; LINQ is used for a WHOLE lot more than just database access.&amp;nbsp; LINQ is a very easy to use, powerful tool - without changing a thing about the data access on your site, you can start using it today for accessing in memory objects.&lt;/p&gt;
&lt;p&gt;If I had to answer my own question, using LINQ rather than custom objects and a DAL is probably going to be a no-brainer.&amp;nbsp; Through the use of a DBML file (which is basically drag and drop), LINQ replaces your DAL and objects in one fell swoop.&amp;nbsp; I was absolutely mistaken in thinking it was a move away from object oriented programming and back to inline SQL - instead, I&amp;#39;m learning that it is a far more effecient means of accessing data.&lt;/p&gt;
&lt;p&gt;For anyone looking to learn more, &amp;quot;LINQ in Action&amp;quot; is fantastic.&amp;nbsp; It is the first Manning publication I&amp;#39;ve purchased but it will certainly not by my last now.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: To LINQ, Or Not To LINQ etc.</title><link>http://forums.asp.net/thread/2190362.aspx</link><pubDate>Fri, 22 Feb 2008 17:01:29 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2190362</guid><dc:creator>david wendelken</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2190362.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=2190362</wfw:commentRss><description>&lt;p&gt;&lt;BLOCKQUOTE&gt;&lt;div&gt;&lt;img src="/Themes/fan/images/icon-quote.gif"&gt; &lt;strong&gt;jwooley:&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;/p&gt;&lt;p&gt;Dave, you are correct that LINQ (to SQL) does not support all of the ANSI sql keywords, but it does support enough to cover a large percentage of your data access needs. In cases that it is missing some statements or extremly complex queries, you are still able to use Stored Procs and call them as simple function calls in your code. It is important to understand that LINQ has nothing to do with databases. The LINQ to SQL provider which sits on top of LINQ is responsible for working with databases (the SQL server family in particular).&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry we didn&amp;#39;t get a chance to chat at the Raleigh code camp last weekend. Come on over to &lt;a href="http://www.thinqlinq.com/"&gt;www.ThinqLinq.com&lt;/a&gt; and check out some of the possibilities that you can do with LINQ. Better yet, check out my new book, &lt;a href="http://www.manning.com/affiliate/idevaffiliate.php?id=263_74" class="" title="LINQ in Action"&gt;LINQ in Action&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Jim&lt;/p&gt;&lt;p&gt;&lt;/div&gt;&lt;/BLOCKQUOTE&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hey Jim! &amp;nbsp; Seeing as I&amp;#39;m moving to Ethiopia in twelve days, I&amp;#39;ll definitely have to limit my &amp;quot;come on overs&amp;quot; to the internet for awhile.&amp;nbsp; Wish I&amp;#39;d known you lived in Atlanta, I could have begged you for couch space when I got stuck at the airport overnight.&amp;nbsp; Boy would I ever have been glad to &amp;quot;come on over&amp;quot; then! :)&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: To LINQ, Or Not To LINQ etc.</title><link>http://forums.asp.net/thread/2190070.aspx</link><pubDate>Fri, 22 Feb 2008 15:02:21 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2190070</guid><dc:creator>Diamsorn</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2190070.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=2190070</wfw:commentRss><description>&lt;p&gt;Great points Jim,&lt;/p&gt;
&lt;p&gt;I think its important not to think of LINQ as a replacement for SQL but as another tool that we have in our pocket.&amp;nbsp; LINQ to SQL provides a real nice codegeneration for the DAL with in VS. As Jim mentioned above you can take your stored procedures and add them as functions in your code.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;LINQ works with much more than just SQL.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;LINQ to XML provides a great framework for parsing XML documents, as well as creating XML docs.&lt;br /&gt;LINQ to Objects is a great way to create custom objects and query them.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;And there&amp;#39;s much more than just those few mentioned.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: To LINQ, Or Not To LINQ etc.</title><link>http://forums.asp.net/thread/2189757.aspx</link><pubDate>Fri, 22 Feb 2008 12:55:09 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2189757</guid><dc:creator>jwooley</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2189757.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=2189757</wfw:commentRss><description>&lt;p&gt;Dave, you are correct that LINQ (to SQL) does not support all of the ANSI sql keywords, but it does support enough to cover a large percentage of your data access needs. In cases that it is missing some statements or extremly complex queries, you are still able to use Stored Procs and call them as simple function calls in your code. It is important to understand that LINQ has nothing to do with databases. The LINQ to SQL provider which sits on top of LINQ is responsible for working with databases (the SQL server family in particular).&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry we didn&amp;#39;t get a chance to chat at the Raleigh code camp last weekend. Come on over to &lt;a href="http://www.thinqlinq.com/"&gt;www.ThinqLinq.com&lt;/a&gt; and check out some of the possibilities that you can do with LINQ. Better yet, check out my new book, &lt;a class="" title="LINQ in Action" href="http://www.manning.com/affiliate/idevaffiliate.php?id=263_74"&gt;LINQ in Action&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Jim&lt;/p&gt;</description></item><item><title>Re: To LINQ, Or Not To LINQ etc.</title><link>http://forums.asp.net/thread/2188119.aspx</link><pubDate>Thu, 21 Feb 2008 19:27:58 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2188119</guid><dc:creator>Diamsorn</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2188119.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=2188119</wfw:commentRss><description>&lt;p&gt;Its tough to answer your question, cause alot of the answers are going to be more of personal opinion which turns out to be relative to the person answering the question as opposed to the one asking.&amp;nbsp; I would suggest rather to go take a look at Jim Wooley&amp;#39;s site ThinqLinq and see some of the work he&amp;#39;s done with Linq.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.thinqlinq.com/"&gt;http://www.thinqlinq.com/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Re: To LINQ, Or Not To LINQ etc.</title><link>http://forums.asp.net/thread/2186362.aspx</link><pubDate>Thu, 21 Feb 2008 05:38:17 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2186362</guid><dc:creator>david wendelken</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2186362.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=2186362</wfw:commentRss><description>&lt;p&gt;Won&amp;#39;t we lose some of the flexibility/power of using sql for a query?&lt;/p&gt;&lt;p&gt;I would be surprised if LINQ will support all the ansi sql language capabilities, not to mention the vendor-specific language extensions.&amp;nbsp;&lt;/p&gt;</description></item><item><title>To LINQ, Or Not To LINQ etc.</title><link>http://forums.asp.net/thread/2186325.aspx</link><pubDate>Thu, 21 Feb 2008 05:00:10 GMT</pubDate><guid isPermaLink="false">4c671506-2930-414c-a40b-8bf57ded5924:2186325</guid><dc:creator>Wolfeitz</dc:creator><slash:comments>0</slash:comments><comments>http://forums.asp.net/thread/2186325.aspx</comments><wfw:commentRss>http://forums.asp.net/commentrss.aspx?SectionID=23&amp;PostID=2186325</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve been messing around with LINQ a bit now and I have to admit, it&amp;#39;s&amp;nbsp;kinda neat.&lt;/p&gt;
&lt;p&gt;What I&amp;#39;m wondering is, what is the benefit of LINQ vs. creating objects that access the database using stored procs via a data access layer?&amp;nbsp; Once you&amp;#39;ve got the objects created, anyone can use them without having to query the database themselves so you always know exactly where your data is coming from and how it is being entered back into the database.&lt;br /&gt;With LINQ it almost seems as though the whole push for people to use OOP has suddenly taken a 180.&amp;nbsp; If I were just making a basic little site that didn&amp;#39;t really have to do a whole lot, and I was going to be the only one working on it, then yea, LINQ is a neat and fast way to go but I&amp;#39;m just not seeing the benefit of LINQ vs. custom objects for dealing with your typical medium to large website.&lt;/p&gt;
&lt;p&gt;Is there any arguement for me getting rid of what I have and going&amp;nbsp;with LINQ?&amp;nbsp; Am I missing some vital connection where my custom objects actually do tie in with LINQ somehow and make everything glorious?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Any insight would be appreciated.&lt;/p&gt;</description></item></channel></rss>