←Select platform

GetDefaultMapping Method

Summary

Gets the default DataAccessMapping for the connection provider.

Syntax
C#
C++/CLI
protected override DataAccessMapping GetDefaultMapping( 
   string name, 
   string dbProviderName 
) 
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 23.0.2024.5.1
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.Storage.DataAccessLayer Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.