←Select platform

GetDefaultMapping Method (StorageDataAccessConfigurationView)

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Medical.Storage.DataAccessLayer Assembly
Click or drag to resize