|
|
|
|
|
|
|
|
Making a Project LINQ to SQL Enabled |
|
|
|
|
|
 |
|
| |
Location: Blogs LINQ to Joe |
 |
| Posted by: Joe Rattz |
3/28/2008 9:53:27 AM |
I was talking to another developer recently and detected a slight intimidation at the thought of trying to adopt LINQ to SQL in his project. I can certainly understand that. Many times in the past there has been some new technology I knew I should start investigating, but the hassle I expected squelched my desire. So, I decided to make a video demonstrating just how easy it can be to make a project LINQ to SQL enabled. Notice I said "it can be". This doesn't mean to imply that every project will be this simple. Unlike most of the other LINQ APIs, adopting LINQ to SQL is an architectural decision that needs to be made. It has its benefits, and its limitations. So, for any given project, adopting LINQ to SQL may be more difficult than in the sample project in my video. Also, concerning the video, I am just getting started with the video software, so please show some mercy. Steven Spielberg I ain't.
The Camtasia Studio video content presented here requires JavaScript to be enabled and the latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by downloading here.
|
| Copyright ©2008 Joe Rattz |
| Permalink |
Trackback |
Comments (17)
Add Comment
|
Re: Making a Project LINQ to SQL Enabled |
By Dave on
3/31/2008 12:11:45 PM |
| Many thanks for this Joe, greatly appreciated. |
|
|
Re: Making a Project LINQ to SQL Enabled |
By Pascal Craponne on
3/31/2008 1:56:44 PM |
| Great! But, there is no linq in the video, you're only using extension methods. Not linq ;) |
|
|
Re: Making a Project LINQ to SQL Enabled |
By Joe Rattz on
4/9/2008 5:43:09 PM |
> Great! But, there is no linq in the video, you're only using extension methods. Not linq ;)
Well, that is not correct because I am using LINQ. I am not using "query expression syntax", but forming a query using extension methods is still LINQ. There seem to be a lot of people that don't realize this, so I thought I should point it out.
Also, the point of the video was to demonstrate how to enable LINQ to SQL in a project, not how to write LINQ queries. |
|
|
Re: Making a Project LINQ to SQL Enabled |
By derk on
5/6/2008 4:35:45 PM |
| I'd like to see a comparison between similar tools, e.g. LINQ to SQL vs nHibernate vs LlblGen PRO. That would be an interesting read. |
|
|
Re: Making a Project LINQ to SQL Enabled |
By austin on
5/6/2008 4:36:05 PM |
| I like the video a lot. Seeing the steps sequencially, and with explanation why you're doing this instead of that, really enhances the subject. I'm going to read more of your book to master LINQ. I'm reading the chapter on LINQ to XML, and it's clear and concise. Hope you do more videos. |
|
|
Re: Making a Project LINQ to SQL Enabled |
By Mehul Jhaveri on
5/6/2008 4:36:20 PM |
| Its an intro for how to use linq from Ide in 6 easy steps. Really nice for people who have never seen how to implement and only heared about linq. |
|
|
Re: Making a Project LINQ to SQL Enabled |
By Gaston on
8/5/2008 7:28:17 PM |
| What are the benefits or advantages of using LINQ instead of NHibernate ? |
|
|
Re: Making a Project LINQ to SQL Enabled |
By Michael Earls on
8/5/2008 7:28:31 PM |
| Great video. Thanks for the walkthrough. |
|
|
Good Job |
By Ricardo Leme on
8/5/2008 7:28:50 PM |
Good job! Congratulations! Now, i´d more encouraged to change some projects for Linq |
|
|
Re: Making a Project LINQ to SQL Enabled |
By Excel on
8/5/2008 7:29:07 PM |
| This is amazing Joe Rattz thank u |
|
|
Re: Making a Project LINQ to SQL Enabled |
By Venkata on
9/22/2008 10:13:38 AM |
| Awesome! Great job. Thanks to Joe Rattz. |
|
|
Re: Making a Project LINQ to SQL Enabled |
By Andriy Yakymiv on
9/22/2008 10:13:57 AM |
| Really great video making insigh into LINQ! |
|
|
Re: Making a Project LINQ to SQL Enabled |
By Michael Washington on
9/22/2008 10:14:21 AM |
| Wow that is one slick video. I like the way it zooms into the item you are focusing on. Of course I read your book so I know all this stuff already but it was interesting hearing your accent (I know what what accent :). |
|
|
Re: Making a Project LINQ to SQL Enabled |
By Gerald Lesan on
10/14/2008 9:02:44 AM |
Been reading the C# version of your book of late. Finished the LINQ to Obect and LINQ to XML sections...very well done indeed. Worth every penny!
Just starting the LINQ to SQL section (skipped LINQ to Dataset for now) and this video was a perfect little intro to get rolling in Visual Studio, so thank you!
Yes, very cool zooms and pans in that video. May I ask what software you used?
Well, congrats on a very fine book. I hope to see another from you in down the road. |
|
|
Re: Making a Project LINQ to SQL Enabled |
By Joe Rattz on
10/14/2008 9:08:07 AM |
| Gerald, I used Camtasia Studio to create that video. Thanks for the kind words about my book. |
|
|
Why System console to output data samples |
By Johnny on
10/21/2009 10:29:28 AM |
| Joe I thank you very much for your video sample. But I've been noticing that in your book as well as in many other developers books and program samples, the system.console seems to be the control of choice to show data outcome, as if it is the only way or only control in the visual studio package to demostrate the results of a program sample. I would like to see more samples involving a listview for example since it is the most difficult control to master. Great samples by the way. Thank you for your time |
|
|
Re: Making a Project LINQ to SQL Enabled |
By host on
10/21/2009 2:55:20 PM |
@Johnny:
Yeah, what you say is probably true. The reason for this is that LINQ is about querying and manipulating data but not really about displaying it. Since the goal is usually to convey the LINQ knowledge without bogging the reader down with other potential problems caused by the UI, sticking to the console just makes the most sense.
If I choose to demonstrate LINQ with an ASP.NET control, that may obscure what I am trying to convey to a WINFORM or WPF developer. Some developers may not even write UI code and may be working on the server side exclusively. The goal is to make the example code as easy to reproduce for all .NET developers regardless of their typical UI.
However, all that said, I just posted an example that populates an Infragistics WebCombo control. The point of the example is how to generate test data though, not how to populate a UI control. Here is a link to that blog post:
http://www.linqdev.com/PublicPortal/publicportal/blog.aspx?EntryID=50
|
|
|
|
|
|
|
|
|
|
|
|