LEADTOOLS Medical (Leadtools.Medical.DataAccessLayer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
DataAccessMappings Property
See Also 
Leadtools.Medical.DataAccessLayer.Configuration Namespace > DataAccessSettings Class : DataAccessMappings Property



Gets or sets a collection of DataAccessMapping which holds the mapping from ADO.NET data providers to the data access type.

Syntax

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.

Remarks

This property maps to the dataAccessMappings element in the configuration.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical.DataAccessLayer requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features