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




name
The connection name for which the dbProviderName belongs.
dbProviderName
The connection logical provider name
name
The connection name for which the dbProviderName belongs.
dbProviderName
The connection logical provider name
Gets the default Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping for the connection provider.

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 WorkstationDataAccessConfigurationView
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
)
Managed Extensions for C++ 
protected: DataAccessMapping* GetDefaultMapping( 
   string* name,
   string* dbProviderName
) override 
C++/CLI 
protected:
DataAccessMapping^ GetDefaultMapping( 
   String^ name,
   String^ dbProviderName
) override 

Parameters

name
The connection name for which the dbProviderName belongs.
dbProviderName
The connection logical provider name

Return Value

A Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping object for the provided dbProviderName, if no mapping found a NULL value will be returned.

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