←Select platform

GetDefaultMapping Method

Summary

Gets the default DataAccessMapping for the connection provider.

Syntax
C#
VB
C++
protected override DataAccessMapping GetDefaultMapping( 
   string name, 
   string dbProviderName 
) 
Protected Overrides Function GetDefaultMapping( 
   ByVal name As String, 
   ByVal dbProviderName As String 
) As DataAccessMapping 
protected:  
   virtual 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 DataAccessMapping object for the provided dbProviderName. It will return a null value if no mapping is found.

Remarks

This methods has the following default DataAccessMapping:

For the dbProviderName = DefaultSqlProviderName the DataAccessType will be of type StorageSqlDbDataAccessAgent and the CatalogType will be of type StorageCatalog

For the dbProviderName = DefaultSqlCe3-5ProviderName the DataAccessType will be of type StorageSqlCeDataAccessAgent and the CatalogType will be of type StorageCatalog

Requirements

Target Platforms

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

Leadtools.Medical.Storage.DataAccessLayer Assembly