"%VOSWARNING%\n\n\n%META:TOPICPARENT{name=\"VirtODBCEntityFrameworkUsage\"}%\n\n---+++Creating an Entity Data Model (EDM) for ODBC-Compliant Databases\n\nThe following steps can be used to create an Entity Data Model (EDM) for the Microsoft Access Northwind database:\n\n 1 Launch the Visual Studio 2008 SP1 IDE.\n%BR%%BR%%BR%%BR%\n 1 Create a Web Application project by going to the File menu in Visual Studio and choosing New Project. %BR%%BR%\n 1 When the New Project window appears, choose either Visual Basic or Visual C# as your programming language.%BR%%BR% \n 1 Within the language category, click on Web and select ASP.NET Web Application from the right-hand panel. %BR%%BR%\n 1 Choose a name for the project, for example VirtuosoDataService, and click OK.\n%BR%%BR%%BR%%BR%\n 1 This will create a new project called VirtuosoDataService.\n%BR%%BR%%BR%%BR%\n 1 Right click on the VirtuosoDataService project name in the Solution Explorer pane. Then, select the Add -> New Item menu option.\n%BR%%BR%%BR%%BR%\n 1 The Add New Item dialog will appear. Choose the ADO.NET Entity Data Model template. Give it the name Virtuoso.edmx and click Add to start the creation of the ADO.Net Entity Data Model.\n%BR%%BR%%BR%%BR%\n 1 In the Entity Data Model Wizard dialog Choose Model Contents page, select the Generate from Database model type and click Next.\n%BR%%BR%%BR%%BR%\n 1 In the Entity Data Model Wizard dialog Choose your Data Connection page, select the New Connection button.\n%BR%%BR%%BR%%BR%\n 1 In the Choose Data Source dialog, select the OpenLink Virtuoso Data Source from the list displayed and click Continue.\n%BR%%BR%%BR%%BR%\n 1 In the Connection Properties dialog, specify the hostname, portno, username and password for the target Virtuoso Server and click the Advanced button.\n%BR%%BR%%BR%%BR%\n 1 Select the Select Database From List radio button and choose NWIND from the drop down list. Click *OK*.\n%BR%%BR%%BR%%BR%\n 1 Press the Test Connection dialog to verify that the database is accessible.\n%BR%%BR%%BR%%BR%\n 1 Set the entity connect string name to VirtuosoEntities (note this name as it is required in the section on creating an ADO.Net Data Service) and click Next. \n%BR%%BR%%BR%%BR%\n 1 In the Choose your Database Objects page, select the Tables check box to select all tables in the NWIND catalog for addition to the Entity Data Model. Set the Model Namespace to VirtuosoModel and click Finish.\n%BR%%BR%%BR%%BR%\n 1 The Virtuoso.edmx EDM will be created with the tables and relationships displayed in the Visual Studio IDE.\n%BR%%BR%%BR%%BR%\n\nCreation of the Entity Data Model for the Microsoft Access Northwind database is now complete.\n\n\nCategoryDocumentation CategoryVirtuoso CategoryEntityFramework CategoryDotNET CategoryODBC CategoryODBCODBCBridge " . . "VirtOODBCEDM" . "VirtOODBCEDM" . . . "2017-06-13T05:38:48Z" . . . . . "2017-06-13T05:38:48Z" . . . . . "VirtOODBCEDM" . . . . . . . . . . "5784ba91efbd3f1018d1972eb504bb1e" . . . . . . . . . . "2017-06-13T05:38:48.092934"^^ . "2017-06-13T05:38:48.092934"^^ . . . . .