Once you have installed EDB Connector/.NET you will need to set it up in whatever development environment that you are using. We will be showing how you can setup the connector both with and without Visual Studio .NET.
In order to setup EDB Connector/.NET with Visual Studio .NET open up your project and in the solution explorer window right click on the "References" tab as shown in the screenshot below:
Right click on the "References" tab which will then show up an "Add Reference" dialog box. Please click on the browse button in the ".NET< Assembly" tab as shown in the screenshot below:
Now browse to the location where EDB Connector/.NET's dll is located. This should be <EDB_HOME>\connectors\dotnet\EDBDataProvider.dll as shown in the screenshot below:
Once this is done, a reference to EDB Connector/.NET will be added to your .NET project, and are ready to start using EnterpriseDB as the backend database for your .NET application.
In order to setup EDB Connector/.NET without using the VS.NET IDE, you simply need to place the EDBDataProvider.dll and the Mono.Security.dll files in the same folder as the one you are working in. These files should be available under <EDB_HOME>\connectors\dotnet directory. Now you can include the connector in your .NET application by adding a reference to the "EnterpriseDB.EDBClient" namespace.
In order to setup EDB Connector/.NET with Mono 1.0.6 open up your project and in the solution explorer window right click on the "References" tab as shown in the screenshot below:
This will show up an "Edit Reference" dialog box. Please click on the browse button in the ".NET" tab as shown in the screenshot below:
Now click on the .NET Assembly tab and click on the "Browse" button as shown in the screenshot below:
Now browse and select where you have placed "EDBDataProvider.dll" as shown in the screenshot below:
Once this is done, a reference to EDB Connector/.NET will be added to your .NET project in Mono.