How to Access the DG Assembly: A Detailed Guide
The first step to accessing and using DataGate in your project after it has been installed is to reference the assembly so you can “see” the objects it contains.
To Access the DG Assembly
- Set a reference to the DG Assembly by using Visual Studio’s Add References dialog box. To open the Add References dialog box, select the “Add References…” on the Project menu of the idE.
- On the .NET tab, select the component titled “ASNA DataGate Client”, press Select, and finally press OK.
- To view the objects within the Assembly, select the Object Browser option from the View menu, or by pressing Ctrl+Alt+J (depending upon the Visual Studio key bindings in use).
- In the left-hand pane of the object browser is a list of assemblies referenced by your project. Near the top you will find “ASNA.DataGate.Client” to the right of a tree-view button. Click the tree-view button to display the DG namespaces. Then click the tree-view buttons next to the namespaces to view the objects contained in those namespaces.
To view the details of a specific object in the left pane, click on it in the right pane.