LEADTOOLS Medical (Leadtools.Medical.Worklist.DataAccessLayer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
GetDefaultMapping Method
See Also 
Leadtools.Medical.Worklist.DataAccessLayer.Configuration Namespace > WorklistDataAccessConfigurationView Class : GetDefaultMapping Method



name
The connection name for which the dbProviderName belongs.
dbProviderName
A System.String that represents the connection logical provider name.
name
The connection name for which the dbProviderName belongs.
dbProviderName
A System.String that represents the connection logical provider name.
Gets the default mapping from an ADO.Net logical provider to the data access type.

Syntax

Visual Basic (Declaration) 
Overrides Protected Function GetDefaultMapping( _
   ByVal name As String, _
   ByVal dbProviderName As String _
) As DataAccessMapping
Visual Basic (Usage)Copy Code
Dim instance As WorklistDataAccessConfigurationView
Dim name As String
Dim dbProviderName As String
Dim value As DataAccessMapping
 
value = instance.GetDefaultMapping(name, dbProviderName)
C# 
protected override DataAccessMapping GetDefaultMapping( 
   string name,
   string dbProviderName
)
C++/CLI 
protected:
DataAccessMapping^ GetDefaultMapping( 
   String^ name,
   String^ dbProviderName
) override 

Parameters

name
The connection name for which the dbProviderName belongs.
dbProviderName
A System.String that represents the connection logical provider name.

Return Value

A Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMappingobject that represents the mapping from the logical provider and the data access type. It will return a null value if no mapping is found.

Remarks

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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