How to connect server through server explorer in VS.NET?

  • Thread starter Thread starter joseph
  • Start date Start date
J

joseph

Hi,

I am learning the LINQ now. I tried to connect a database through network
using the VS.NET's Server Explorer (but failed), so I can drag and drop the
table to the LINQ to SQL designer. Can someone tell me how to do it? Or,
point me to a site that will can help this situation?

Other than using the Server Explorer to create the LINQ Classes, what other
ways that can do this?

Thanks in advance.

Joseph
 
Hello Joseph,

Open project explorer or the tab Projects.

Choose for Add new Item -> Linq to Sql
Don't forget to change the default name and be aware that that name will
extended with DataContext forever.


Open Server explorer
Connect to a server and choose from that the tables or all tables and from
that the columns.

Build.

Cor
 
Hello Joseph,

Open project explorer or the tab Projects.

Choose for Add new Item -> Linq to Sql
Don't forget to change the default name and be aware that that name will
extended with DataContext forever.


Open Server explorer
Connect to a server and choose from that the tables or all tables and from
that the columns.

Build.

Cor
 
Back
Top