LEADTOOLS Medical (Leadtools.Medical.Worklist.DataAccessLayer assembly)
LEAD Technologies, Inc

GetDefaultMapping Method






The connection name for which the dbProviderName belongs.
A System.String that represents the connection logical provider name.
Gets the default mapping from an ADO.Net logical provider to the data access type.
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 WorklistDataAccessConfigurationView
Dim name As String
Dim dbProviderName As String
Dim value As DataAccessMapping
 
value = instance.GetDefaultMapping(name, dbProviderName)
protected override DataAccessMapping GetDefaultMapping( 
   string name,
   string dbProviderName
)
 function Leadtools.Medical.Worklist.DataAccessLayer.Configuration.WorklistDataAccessConfigurationView.GetDefaultMapping( 
   name ,
   dbProviderName 
)
protected:
DataAccessMapping^ GetDefaultMapping( 
   String^ name,
   String^ dbProviderName
) override 

Parameters

name
The connection name for which the dbProviderName belongs.
dbProviderName
A System.String that represents the connection logical provider name.

Return Value

A Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping object that represents the mapping from the logical provider and the data access type. 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.Worklist.DataAccessLayer.WorklistSqlDbDataAccessAgent and the Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.CatalogType will be of type Leadtools.Medical.Worklist.DataAccessLayer.WorklistCatalog

For the dbProviderName = Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.DefaultSqlCe3_5ProviderName the Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.DataAccessType will be of type Leadtools.Medical.Worklist.DataAccessLayer.WorklistSqlCeDataAccessAgent and the Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.CatalogType will be of type Leadtools.Medical.Worklist.DataAccessLayer.WorklistCatalog

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

WorklistDataAccessConfigurationView Class
WorklistDataAccessConfigurationView Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.

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