![]() |
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.
|
Defines the mapping options for providers. More...
Public Member Functions | |
IDataConfiguration | MappedToDatabase (Type databaseType) |
The Database to map the provider to. More... | |
IDataConfiguration | MappedToDatabase< T > () |
The Database to map the provider to. More... | |
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... | |
Defines the mapping options for providers.
|
inherited |
Configure a named database.
databaseName | Name of database to configure |
Implemented in Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Fluent.DatabaseConfigurationExtension.
IDataConfiguration Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Fluent.IDatabaseProviderConfiguration.MappedToDatabase | ( | Type | databaseType | ) |
IDataConfiguration Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Fluent.IDatabaseProviderConfiguration.MappedToDatabase< T > | ( | ) |
The Database to map the provider to.
T | Database type to map to |
T | : | Database |
|
inherited |
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. |