LEADTOOLS Medical (Leadtools.Medical.Storage.DataAccessLayer assembly)

GetDefaultMapping Method

Show in webframe





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

            

            
protected:
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 Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping object for the provided dbProviderName. It will return a null value if no mapping is found.
Remarks

This methods has the following default Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping:

For the dbProviderName = Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.DefaultSqlProviderName the Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.DataAccessType will be of type Leadtools.Medical.Storage.DataAccessLayer.StorageSqlDbDataAccessAgent and the Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.CatalogType will be of type Leadtools.Medical.Storage.DataAccessLayer.StorageCatalog

For the dbProviderName = Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.DefaultSqlCe3_5ProviderName the Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.DataAccessType will be of type Leadtools.Medical.Storage.DataAccessLayer.StorageSqlCeDataAccessAgent and the Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.CatalogType will be of type Leadtools.Medical.Storage.DataAccessLayer.StorageCatalog

Requirements

Target Platforms

See Also

Reference

StorageDataAccessConfigurationView Class
StorageDataAccessConfigurationView Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Medical.Storage.DataAccessLayer requires a Medical toolkit server license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features