In Server Explorer/ Database Explorer, expand the connection to the Northwind database. To add tables to query to the O/R Designer The Object Relational Designer (O/R Designer) is opened for the northwind.dbml file. Select the LINQ to SQL Classes item template. Select Visual Basic Windows Forms Application as the project type. In Visual Studio, on the File menu, point to New and then click Project. To add a project that contains a LINQ to SQL file Specify a valid connection to the Northwind sample database. Right-click Data Connections in Server Explorer/ Database Explorer and then click Add Connection. In Visual Studio, open Server Explorer/ Database Explorer by clicking Server Explorer/ Database Explorer on the View menu. For more information, see Personalizing the IDE. The Visual Studio edition that you have and the settings that you use determine these elements. Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions.
0 Comments
Leave a Reply. |