Exporting an ADO.NET Database Connection

You can export an ADO.NET connection from a PowerBuilder WPF application, enabling the same database connection to be shared by an external .NET assembly.

Follow these guidelines to export a shared connection:

The proxy's Connection property passes the shareable connection as a System.Data.IDbConnection object, which is available to the third-party .NET assembly at runtime. The active transaction object is assigned to the proxy's IAdoConnectionProxy.Transaction property.