- connection
- The ConnectionStringSettings information for creating the Database object.
Visual Basic (Declaration) | |
---|---|
Protected Overridable Function CreateDatabaseProvider( _ ByVal connection As ConnectionStringSettings _ ) As Database |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
protected virtual Database CreateDatabaseProvider( ConnectionStringSettings connection ) |
C++/CLI | |
---|---|
protected: virtual Database CreateDatabaseProvider( ConnectionStringSettings connection ) |
Parameters
- connection
- The ConnectionStringSettings information for creating the Database object.
Return Value
An object of type Database.The default implementation will delegate the database object creating to Microsoft Enterprise Library Data Access Block.
Override this method to provide your own database object implementation or use the configuration file to register your database provider with the Enterprise Library.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family