Partager via


DatabaseSettings.ProviderMappings Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Holds the optional mappings from ADO.NET's database providers to Enterprise Library's database types.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Data.Configuration
Assembly:  Microsoft.Practices.EnterpriseLibrary.Data (in Microsoft.Practices.EnterpriseLibrary.Data.dll)

Syntax

'Declaration
<ConfigurationPropertyAttribute("providerMappings", IsRequired := False)> _
PublicReadOnlyPropertyProviderMappingsAs NamedElementCollection(Of DbProviderMapping)
[ConfigurationPropertyAttribute("providerMappings", IsRequired = false)]
public NamedElementCollection<DbProviderMapping> ProviderMappings { get; }
[ConfigurationPropertyAttribute(L"providerMappings", IsRequired = false)]
public:
property NamedElementCollection<DbProviderMapping^>^ ProviderMappings {
    NamedElementCollection<DbProviderMapping^>^ get ();
}
publicfunction getProviderMappings () : NamedElementCollection<DbProviderMapping>

See Also

DatabaseSettings Class

Microsoft.Practices.EnterpriseLibrary.Data.Configuration Namespace

Microsoft.Practices.EnterpriseLibrary.Data.Configuration.DbProviderMapping

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.