VB9 & Linq-VBForums
Results 1 to 5 of 5

Thread: VB9 & Linq

Hybrid View

  1. #1

    Thread Starter
    Special Guest - Microsoft
    Join Date
    Dec 2007
    Posts
    36

    VB9 & Linq

    Have y'all been trying out LINQ and some of the other new language features? What do you think?
    Paul Yuknewicz
    Lead Program Manager
    Microsoft Visual Basic
    http://msdn.com/vbasic
    Share on Google+

  2. #2
    Fanatic Member
    Join Date
    Feb 2006
    Posts
    607

    Re: VB9 & Linq

    Being 18 and in highschool, I havnt even mastered SQL yet.

    Tell me, as a future freelance developer, is it worth to learn LINQ right now, or is it one of those things that you can use after you've mastered SQL.

    Don't get me wrong, I am not a noob at SQL, I would rate my self as intermediate.

    Also I mostly do web programming with .net. I asked my host, and he said .net 3.5 is on testing grounds right now. Hopefully by January they can offer 3.5.

    I guess that would be the time when I switch and use LINQ to talk to my database.
    Share on Google+

  3. #3

    Thread Starter
    Special Guest - Microsoft
    Join Date
    Dec 2007
    Posts
    36

    Re: VB9 & Linq

    Yes, given what you've told me I'd look at it now. You can make progress using LINQ with intermediate SQL knowledge.

    The interesting thing is LINQ isn't just about databases and relational objects. You can use it to query over most objects and lists. E.g. you could find all the processes with working set over 10MB, or all pictures in "My Pictures" folder created this year, or all the RSS feeds with the "VB" tag. Another cool think is you can combine queries over different data sources -- e.g. grab data from an XML file and combine it with picture files in the file system.

    Experience with SQL will help you with the syntax. But, one thing you should learn early on is the concept of deferred execution and enumeration. In a nutshell, your code will fetch data at the time the expression is evaluated or enumerated. So you want to make your query as specific as possible before that happens - else you're grabbing unnecessary amounts of data. Make sense?

    I'm sure BethMa or AmandaS have good articles or posts on the subject.

    Best,
    Paul
    Paul Yuknewicz
    Lead Program Manager
    Microsoft Visual Basic
    http://msdn.com/vbasic
    Share on Google+

  4. #4
    Fanatic Member
    Join Date
    Feb 2006
    Posts
    607

    Re: VB9 & Linq

    Okay, I will look into those how to videos since there pretty helpful.

    i am gonna go google deferred execute, and enumeration since I have no idea what those are :P.

    Also I know this is going WAY off track, and maybe better off through PM, but do you know if MS offers a class for students? Like I am just getting out of highschool, starting college soon also. But in my free time, i wouldnt mind flying over to LA and working with you guys haha.
    Share on Google+

  5. #5
    Special Guest - Microsoft funkyonex's Avatar
    Join Date
    Dec 2007
    Posts
    12

    Re: VB9 & Linq

    Hi Masfenix,

    You can also check out this learning plan - it's LINQ content from the VB Team which includes how-to videos, interviews, blog posts, articles.

    Have Fun!
    -B
    Beth Massi, Visual Studio Community
    Visit the Visual Basic Developer Center
    Share on Google+

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.