More...
Represents a factory for creating named instances of Database objects.
◆ DatabaseProviderFactory() [1/3]
Microsoft.Practices.EnterpriseLibrary.Data.DatabaseProviderFactory.DatabaseProviderFactory |
( |
| ) |
|
◆ DatabaseProviderFactory() [2/3]
Microsoft.Practices.EnterpriseLibrary.Data.DatabaseProviderFactory.DatabaseProviderFactory |
( |
IConfigurationSource |
configurationSource | ) |
|
Initializes a new instance of the DatabaseProviderFactory class with the given configuration source.
- Parameters
-
configurationSource | The source for configuration information. |
◆ DatabaseProviderFactory() [3/3]
Microsoft.Practices.EnterpriseLibrary.Data.DatabaseProviderFactory.DatabaseProviderFactory |
( |
Func< string, ConfigurationSection > |
configurationAccessor | ) |
|
Initializes a new instance of the DatabaseProviderFactory class with the given configuration accessor.
- Parameters
-
configurationAccessor | The source for configuration information. |
◆ Create()
Database Microsoft.Practices.EnterpriseLibrary.Data.DatabaseProviderFactory.Create |
( |
string |
name | ) |
|
Returns a new Database instance based on the configuration for name .
- Parameters
-
name | The name of the required instance. |
- Returns
- A new Database instance.
◆ CreateDefault()
Database Microsoft.Practices.EnterpriseLibrary.Data.DatabaseProviderFactory.CreateDefault |
( |
| ) |
|
Returns a new Database instance based on the default instance configuration.
- Returns
- A new Database instance.
The documentation for this class was generated from the following file:
- DatabaseProviderFactory.cs