Enterprise Library Data Access Application Block  7.0-rc1
The Data Access Application Block abstracts the actual database you are using, and exposes a collection of methods that make it easy to access that database and to perform common tasks.
Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration.OracleDatabaseData Class Reference

Describes a OracleDatabase instance, aggregating information from a ConnectionStringSettings and any Oracle-specific database information. More...

Inheritance diagram for Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration.OracleDatabaseData:
Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseData

Public Member Functions

 OracleDatabaseData (ConnectionStringSettings connectionStringSettings, Func< string, ConfigurationSection > configurationSource)
 Initializes a new instance of the OracleDatabaseData class with a connection string and a configuration source. /summary> param name="connectionStringSettings">The ConnectionStringSettings for the represented database.param name="configurationSource">The IConfigurationSource from which Oracle-specific information should be retrieved. More...
 
override Database BuildDatabase ()
 Builds the Database represented by this configuration object. More...
 

Properties

IEnumerable< OraclePackageData >? PackageMappings [get]
 
ConnectionStringSettings ConnectionStringSettings [get]
 Gets the ConnectionStringSettings for the database data. More...
 
Func< string, ConfigurationSection > ConfigurationSource [get]
 Gets the function to access configuration information. More...
 
string Name [get]
 Gets the name for the represented database. More...
 
string ConnectionString [get]
 Gets the connection string for the represented database. More...
 

Detailed Description

Describes a OracleDatabase instance, aggregating information from a ConnectionStringSettings and any Oracle-specific database information.

Constructor & Destructor Documentation

◆ OracleDatabaseData()

Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration.OracleDatabaseData.OracleDatabaseData ( ConnectionStringSettings  connectionStringSettings,
Func< string, ConfigurationSection >  configurationSource 
)

Initializes a new instance of the OracleDatabaseData class with a connection string and a configuration source. /summary> param name="connectionStringSettings">The ConnectionStringSettings for the represented database.param name="configurationSource">The IConfigurationSource from which Oracle-specific information should be retrieved.

summary> Gets the Oracle package mappings for the represented database. /summary>

Member Function Documentation

◆ BuildDatabase()

override Database Microsoft.Practices.EnterpriseLibrary.Data.Oracle.Configuration.OracleDatabaseData.BuildDatabase ( )
virtual

Builds the Database represented by this configuration object.

Returns
A database.

Implements Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseData.

Property Documentation

◆ ConfigurationSource

Func<string, ConfigurationSection> Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseData.ConfigurationSource
getprotectedinherited

Gets the function to access configuration information.

◆ ConnectionString

string Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseData.ConnectionString
getinherited

Gets the connection string for the represented database.

◆ ConnectionStringSettings

ConnectionStringSettings Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseData.ConnectionStringSettings
getprotectedinherited

Gets the ConnectionStringSettings for the database data.

◆ Name

string Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseData.Name
getinherited

Gets the name for the represented database.


The documentation for this class was generated from the following file: