- name
- The connection name for which the dbProviderName belongs.
- dbProviderName
- The connection logical provider name
Visual Basic (Declaration) | |
---|---|
Overrides Protected Function GetDefaultMapping( _ ByVal name As String, _ ByVal dbProviderName As String _ ) As DataAccessMapping |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As LoggingDataAccessConfigurationView Dim name As String Dim dbProviderName As String Dim value As DataAccessMapping value = instance.GetDefaultMapping(name, dbProviderName) |
C# | |
---|---|
protected override DataAccessMapping GetDefaultMapping( string name, string dbProviderName ) |
C++/CLI | |
---|---|
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, if no mapping found a NULL value will be returned.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 LoggingSqlDataAccessAgent and the Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.CatalogType will be of type LoggingCatalog
For the dbProviderName = Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.DefaultSqlCe3_5ProviderName the Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.DataAccessType will be of type LoggingSqlCeDataAccessAgent and the Leadtools.Medical.DataAccessLayer.Configuration.DataAccessMapping.CatalogType will be of type LoggingCatalog
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7