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


combit.ListLabel24.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
Syntax
'Declaration
 
Public NotInheritable Class OracleConnectionDataProvider 
   Inherits DbConnectionDataProvider
   Implements ICanHandleUsedIdentifiers, IDataProvider, combit.ListLabel24.ISupportsLogger 
public ref class OracleConnectionDataProvider sealed : public DbConnectionDataProvider, ICanHandleUsedIdentifiers, IDataProvider, combit.ListLabel24.ISupportsLogger  
Remarks

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.

Example
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;
LL.Design();
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
LL.Design()
Inheritance Hierarchy

System.Object
   combit.ListLabel24.DataProviders.DbConnectionDataProvider
      combit.ListLabel24.DataProviders.OracleConnectionDataProvider

Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

OracleConnectionDataProvider Members
combit.ListLabel24.DataProviders Namespace