View Single Post
  #1 (permalink)  
Old April 13th, 2009, 09:13 AM
Schildb Schildb is offline
Registered User
Join Date: Sep 2008
Location: Melbourne, FL, USA.
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating a DataContext

This might be the wrong place to ask this, but I'll give it a try. If this is the wrong place, could you please point me to a more correct forum?

I'm creating a VB.NET2008 LINQ Demo project. I added a copy of Northwind.sdf and renamed it as Demo.sdf and it contains just a few records from the Employees table. I used the SQL Metal OSUI to create the Demo.dbml and added it to the project. In the form code I want to add a DataContext something like:

Private DC as new DemoDataContext

But intellisense doesn't show any thing with DataContext in it.