IDatabaseProviderConfiguration.MappedToDatabase<T> Method
The Database to map the provider to.
Namespace: Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Fluent
Assembly: Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)
Syntax
'Declaration
Function MappedToDatabase(Of T As Database) As IDataConfiguration
IDataConfiguration MappedToDatabase<T>()
where T : Database
generic<typename T>
where T : Database
IDataConfiguration^ MappedToDatabase()
JScript does not support generic types or methods.
Type Parameters
- T
Database type to map to
Return Value
See Also
IDatabaseProviderConfiguration Interface
Microsoft.Practices.EnterpriseLibrary.Data.Configuration.Fluent Namespace
Microsoft.Practices.EnterpriseLibrary.Data.GenericDatabase
Microsoft.Practices.EnterpriseLibrary.Data.Sql.SqlDatabase
Microsoft.Practices.EnterpriseLibrary.Data.Oracle.OracleDatabase