Wanted: minimal Northwind LINQ example

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?U2llZ2ZyaWVkIEhlaW50emU=?=

    Wanted: minimal Northwind LINQ example

    I'm trying to follow Luca Bolognese's example from
    http://www.microsoft.com/emea/msdn/s...px?videoid=716 but
    the following code works for him but not me. VS2008 says there is no
    System.Data.Lin q!

    I tried live searching for a simple example that worked but could not find
    one. Can someone tell me how to make Luca's example work or point me to an
    example that does work?

    Thanks,
    siegfried

    using System;
    using System.Linq;
    using System.Data.Lin q;
    using System.Data.Lin q.Mapping;
    using System.Collecti ons.Generic;
    using System.Text;
  • =?Utf-8?B?U2llZ2ZyaWVkIEhlaW50emU=?=

    #2
    Re: Wanted: minimal Northwind LINQ example

    boy do I feel stupid. I guess I was trying to do too many things at once.

    Anyway, it is still not working. I think it is because I don't have the
    northwind example loaded. Why don't I have northwind or pubs databases in my
    SQLServer instance?

    Thanks,
    Siegfried

    Comment

    Working...