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.OleDb.Configuration.OleDbDatabaseData Class Reference
Inheritance diagram for Microsoft.Practices.EnterpriseLibrary.Data.OleDb.Configuration.OleDbDatabaseData:
Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DatabaseData

Public Member Functions

 OleDbDatabaseData (ConnectionStringSettings connectionStringSettings, Func< string, ConfigurationSection > configurationSource)
 Initializes a new instance of the OleDbDatabaseData class More...
 
override Database BuildDatabase ()
 Builds the Database represented by this configuration object.
 

Properties

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...
 

Constructor & Destructor Documentation

◆ OleDbDatabaseData()

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

Initializes a new instance of the OleDbDatabaseData class

Parameters
connectionStringSettingsThe connection string settings
configurationSourceA delegate to retrieve the configuration section

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: