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

GetDefaultMapping Method







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 MediaCreationDataAccessConfigurationView
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.Media.DataAccessLayer.Configuration.MediaCreationDataAccessConfigurationView.GetDefaultMapping( 
   name ,
   dbProviderName 
)
protected: DataAccessMapping* GetDefaultMapping( 
   string* name,
   string* dbProviderName
) override 
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:

dbProviderName Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.DataAccessType Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.CatalogType
Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.DefaultSqlProviderName Leadtools.Medical.Media.DataAccessLayer.MediaCreationSqlDbDataAccessAgent Null (Nothing in Visual Basic)
Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.DefaultSqlCe3_5ProviderName Leadtools.Medical.Media.DataAccessLayer.MediaCreationSqlCeDataAccessAgent Null (Nothing in Visual Basic)
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

MediaCreationDataAccessConfigurationView Class
MediaCreationDataAccessConfigurationView Members

 

 


Products | Support | Contact Us | Copyright Notices

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