combit List & Label 25 - .NET Online Web Help
OracleConnectionDataProvider Class
Members  Example 

combit.ListLabel25.DataProviders Namespace : OracleConnectionDataProvider Class
This data provider can be used to consume data from an OracleConnection (from the System.Data.OracleClient namespace). As the connection object will be cloned multiple times, the connection string needs to set Persist Security Info to True (see sample below) if user/password authentication is used. This class is serializable.
Object Model
OracleConnectionDataProvider Class
Public NotInheritable Class OracleConnectionDataProvider 
   Inherits DbConnectionDataProvider
   Implements ICanHandleUsedIdentifiers, IDataProvider, combit.ListLabel25.ISupportsLogger 
public ref class OracleConnectionDataProvider sealed : public DbConnectionDataProvider, ICanHandleUsedIdentifiers, IDataProvider, combit.ListLabel25.ISupportsLogger  

The external class OracleConnection is required and is not included in List & Label. Further details can be found in the Goodies.txt file of the installation.

OracleConnection conn = new OracleConnection("Data Source=srvoracle/database;Persist Security Info=True;User ID=sample;Password=samplepwd");
OracleConnectionDataProvider provider = new OracleConnectionDataProvider(conn, "HR");
LL.DataSource = provider;
Dim conn As New OracleConnection("Data Source=srvoracle/database;Persist Security Info=True;User ID=sample;Password=samplepwd")
Dim provider As New OracleConnectionDataProvider(conn, "HR")
LL.DataSource = provider
Inheritance Hierarchy



Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also


OracleConnectionDataProvider Members
combit.ListLabel25.DataProviders Namespace