The following example illustrates connecting to an OpenAccess SDK Server from an application developed in Visual Studio using C# and the Common Programming Model.
1. Check the beginning of your application. Ensure the ADO.NET namespaces are present.
// Access OpenAccess Server using factory
using System.Data;
using System.Data.Common;
2. Add the connection information of your server and exception handling code and close the connection.