Table of Contents

Class OracleConnectionDataProvider

Namespace
combit.Reporting.DataProviders
Assembly
combit.ListLabel31.CrossPlatform.dll

Provides a data provider implementation for Oracle databases using ADO.NET.

[Serializable]
public sealed class OracleConnectionDataProvider : DbConnectionDataProvider, IDataProvider, ICanHandleUsedIdentifiers, IDisposable, ISupportsLogger, ISerializable
Inheritance
OracleConnectionDataProvider
Implements
Inherited Members

Remarks

This data provider supports Oracle database access via the Oracle Managed Data Access Client (Oracle.ManagedDataAccess.Client) as the preferred provider, or the Oracle Data Access Client (Oracle.DataAccess.Client) as a fallback. Oracle Data Provider for .NET (ODP.NET) must be installed to use this provider.

Constructors

OracleConnectionDataProvider(string)

Initializes a new instance of the OracleConnectionDataProvider class with the specified connection string. No table owner is specified.

public OracleConnectionDataProvider(string connectionString)

Parameters

connectionString string

The connection string used to connect to the Oracle database.

OracleConnectionDataProvider(string, ReadOnlyCollection<string>)

Initializes a new instance of the OracleConnectionDataProvider class with the specified connection string and a collection of table owners.

public OracleConnectionDataProvider(string connectionString, ReadOnlyCollection<string> tableOwners)

Parameters

connectionString string

The connection string used to connect to the Oracle database.

tableOwners ReadOnlyCollection<string>

A read-only collection of table owner names. These names will be used to prefix table names when accessing the database.

OracleConnectionDataProvider(string, string)

Initializes a new instance of the OracleConnectionDataProvider class with the specified connection string and table owner.

public OracleConnectionDataProvider(string connectionString, string tableOwner)

Parameters

connectionString string

The connection string used to connect to the Oracle database.

tableOwner string

The name of the table owner to prefix table names with. If not provided, no owner is used.

Properties

PrefixTableNameWithOwner

Gets or sets a value indicating whether the table name should be prefixed with the owner's name.

public bool PrefixTableNameWithOwner { get; set; }

Property Value

bool

SupportedElementTypes

Gets or sets the supported DbConnectionElementTypes for the database connection.

public DbConnectionElementTypes SupportedElementTypes { get; set; }

Property Value

DbConnectionElementTypes

Remarks

This property indicates which element types (tables, views) are supported by this data provider.

SupportsAdvancedFiltering

Gets or sets a value indicating whether advanced filtering is supported by this data provider.

public override bool SupportsAdvancedFiltering { get; set; }

Property Value

bool

Methods

Init()

When implemented in a derived class, initializes the data provider.

protected override void Init()

OnTranslateFilterSyntax(object, TranslateFilterSyntaxEventArgs)

Raises the TranslateFilterSyntax event.

protected override void OnTranslateFilterSyntax(object sender, TranslateFilterSyntaxEventArgs e)

Parameters

sender object

The source of the event.

e TranslateFilterSyntaxEventArgs

A TranslateFilterSyntaxEventArgs that contains the event data.