DataContext

Apr 13, 2009 at 2:06 PM
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. I want to add a DataContext something like:

Private DC as new DemoDataContext

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

Thanks,
Apr 28, 2009 at 2:49 PM
Hi,

You might use both code and map options and indicate your context name in "context" option. Hope it's helpfull,,

Regards,