View Single Post
  #2 (permalink)  
Old April 14th, 2009, 02:11 PM
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

Quote:
Originally Posted by Schildb View Post
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.

Thanks,
I see what I problem was. I was getting the correct DataContext, but could not get the my code based on the examples on pages 32 and 33 to work. I saw the corrections on this forum and when I made them all worked well.

Sorry for the post!