GetDefaultMapping Method

Summary

Gets the default DataAccessMapping for the connection provider.

Syntax
C#
VB
C++
protected virtual DataAccessMapping GetDefaultMapping( 
   string name, 
   string dbProviderName 
) 
  
Protected Overridable Function GetDefaultMapping( _ 
   ByVal name As String, _ 
   ByVal dbProviderName As String _ 
) As DataAccessMapping 
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 VB). Developers should override this method to provide their default DataAccessMapping for the provider.

Requirements

Target Platforms

Help Version 20.0.2020.5.27
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.DataAccessLayer Assembly