Caution: Visual Studio Express versions don’t support the LINQ to SAP Designer.
Installation of the LINQ to SAP Designer is not done automatically when installing ERPConnect. It has to be installed separately. To do this, launch the LINQtoERPSetupVSJJJJ.exe application in your ERPConnect directory or via the program menu, where JJJJ stands for your Visual Studio version:
One click of the install button will start all required steps to install the Designer:
When launching Visual Studio the next time, a new item will be available with which a LINQ to ERP DataContext can be added to the current project.
After adding the new item, open the DataContext with a double-click. In the toolbox you’ll now find different components that can be added to the context: tables, normal queries, functional modules, IDocs and BW queries. The moment you drag and drop the first element over to the context, the Designer will ask you to enter the connection information to SAP. In addition to account details (client, user name, password and language), you need to enter the host name and system number or the message server, logon group and SID. This depends on whether you want to make a connection with the individual application server or via load balancing.