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.Configuration.Fluent.IDataConfiguration Interface Reference

Starting point for data configuration. More...

Inheritance diagram for Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Fluent.IDataConfiguration:
Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Fluent.IDatabaseConfiguration Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Fluent.IDatabaseProviderConfiguration

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

Detailed Description

Starting point for data configuration.

See also
DataConfigurationSourceBuilderExtensions

Member Function Documentation

◆ ForDatabaseNamed()

IDatabaseConfigurationProperties Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Fluent.IDatabaseConfiguration.ForDatabaseNamed ( string  databaseName)
inherited

Configure a named database.

Parameters
databaseNameName of database to configure
Returns

Implemented in Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Fluent.DatabaseConfigurationExtension.

◆ WithProviderNamed()

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.

Parameters
providerNameThe name of the database provider's invariant.
Returns

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