LEADTOOLS Medical (Leadtools.Medical.DataAccessLayer assembly)
LEAD Technologies, Inc

GetDefaultMapping Method






The connection name for which the dbProviderName belongs.
The connection logical provider name
Gets the default DataAccessMapping for the connection provider.
Syntax
protected virtual DataAccessMapping GetDefaultMapping( 
   string name,
   string dbProviderName
)
'Declaration
 
Protected Overridable Function GetDefaultMapping( _
   ByVal name As String, _
   ByVal dbProviderName As String _
) As DataAccessMapping
'Usage
 
Dim instance As DataAccessConfigurationView
Dim name As String
Dim dbProviderName As String
Dim value As DataAccessMapping
 
value = instance.GetDefaultMapping(name, dbProviderName)
protected virtual DataAccessMapping GetDefaultMapping( 
   string name,
   string dbProviderName
)
 function Leadtools.Medical.DataAccessLayer.Configuration.DataAccessConfigurationView.GetDefaultMapping( 
   name ,
   dbProviderName 
)
protected:
virtual DataAccessMapping^ GetDefaultMapping( 
   String^ name,
   String^ dbProviderName
) 

Parameters

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

Return Value

The DataAccessMapping object that matches the dbProviderName.
Remarks

This method will always return null (Nothing in Visual Basic). Developers should override this method to provide their default DataAccessMapping for the provider.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DataAccessConfigurationView Class
DataAccessConfigurationView Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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