To specify a name space for the added reference

The .NET NameSpace for the CONNX .NET Data Provider is System.Data.CONNX. To reference the CONNX .NET Data Provider objects by the class name instead of the fully qualified name, use the following lines at the top of your code:

 

VB.NET
Imports System.Data.CONNX

or

C#
using System.Data.CONNX;

 

Reference the CONNX .NET Data Provider objects by either of the following methods:

 

VB NET
Dim cnxCommand1 as System.Data.CONNX.CNXCommand
Dim cnxCommand2 as CNXCommand

or

C#
System.Data.CONNX.CNXCommand cnxCommand1;
CNXCommand cnxCommand2;