I
I
Ivan Murashkin2017-08-26 11:53:03
SQL
Ivan Murashkin, 2017-08-26 11:53:03

How to connect to DB(LocalDB) in C# using LINQ to SQL?

Looked msdn there it is written
// Northwnd inherits from System.Data.Linq.DataContext.
Northwind nw = new Northwind(@"northwind.mdf");
But VS says there is no such namespace, what to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
andoral, 2017-08-26
@IvanRUSH

apparently the reference to System.Data.Linq.dll is not specified

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question