![]() |
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.
|
Starting point for data configuration. More...
Public Member Functions | |
IDatabaseProviderConfiguration | WithProviderNamed (string providerName) |
Specify a custom provider name or alias to use. This must map to the name of the invariant name specified by DbProviderFactories More... | |
IDatabaseConfigurationProperties | ForDatabaseNamed (string databaseName) |
Configure a named database. More... | |
Starting point for data configuration.
|
inherited |
Configure a named database.
databaseName | Name of database to configure |
Implemented in Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Fluent.DatabaseConfigurationExtension.
IDatabaseProviderConfiguration Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Fluent.IDataConfiguration.WithProviderNamed | ( | string | providerName | ) |
Specify a custom provider name or alias to use. This must map to the name of the invariant name specified by DbProviderFactories
If the provider is not mapped to a specific Enterprise Library Database class, then the GenericDatabase will be used.
providerName | The name of the database provider's invariant. |