Leadtools.Medical.Workstation.DataAccessLayer Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
CreateDatabaseProvider Method
See Also 
Leadtools.Medical.Workstation.DataAccessLayer Namespace > WorkstationDataAccessAgent Class : CreateDatabaseProvider Method



connection
The ConnectionStringSettings information for creating the Database object.
connection
The ConnectionStringSettings information for creating the Database object.
Creates a Database instance.

Syntax

Visual Basic (Declaration)  
Protected Overridable Function CreateDatabaseProvider( _
   ByVal connection As ConnectionStringSettings _
) As Database
Visual Basic (Usage) Copy Code
Dim instance As WorkstationDataAccessAgent
Dim connection As ConnectionStringSettings
Dim value As Database
 
value = instance.CreateDatabaseProvider(connection)
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.

Remarks

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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Medical.Workstation.DataAccessLayer requires a Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features