Visual Basic (Declaration) | |
---|---|
<ConfigurationPropertyAttribute(Name="dataAccessMappings", Options=ConfigurationPropertyOptions.None, IsDefaultCollection=False, IsRequired=False, IsKey=False)> Public Property DataAccessMappings As NamedElementCollection(Of DataAccessMapping) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DataAccessSettings Dim value As NamedElementCollection(Of DataAccessMapping) instance.DataAccessMappings = value value = instance.DataAccessMappings |
C# | |
---|---|
[ConfigurationPropertyAttribute(Name="dataAccessMappings", Options=ConfigurationPropertyOptions.None, IsDefaultCollection=false, IsRequired=false, IsKey=false)] public NamedElementCollection<DataAccessMapping> DataAccessMappings {get; set;} |
C++/CLI | |
---|---|
[ConfigurationPropertyAttribute(Name="dataAccessMappings", Options=ConfigurationPropertyOptions.None, IsDefaultCollection=false, IsRequired=false, IsKey=false)] public: property NamedElementCollection<DataAccessMapping^>^ DataAccessMappings { NamedElementCollection<DataAccessMapping^>^ get(); void set ( NamedElementCollection<DataAccessMapping^>^ value); } |
Property Value
A collection of DataAccessMapping objects that holds the mapping from ADO.NET data providers to the data access type.This property maps to the dataAccessMappings
element in the configuration.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7