| Visual Basic (Declaration) | |
|---|---|
Public Class DataAccessMapping Inherits NamedConfigurationElement | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public class DataAccessMapping : NamedConfigurationElement | |
| C++/CLI | |
|---|---|
public ref class DataAccessMapping : public NamedConfigurationElement | |
This class provide mapping information to determine what type of IWorkstationDataAccessAgent matches a given provider type. The optional DataAccessMapping configuration objects can be defined in the "dataConfiguration" configuration section.
If a mapping is not present for a given provider type the following defaults will be used:
- For the "System.Data.SqlClient" provider name, the WorkstationSqlDataAccessAgent will be used
- For "Microsoft.SqlServerCe.Client.3.5" provider name, the WorkstationSqlCeDataAccessAgent will be used
To use providers other than the defaults or to provide your own Data Access type a mapping must be registered.
System.Object
System.Configuration.ConfigurationElement
Microsoft.Practices.EnterpriseLibrary.Common.Configuration.NamedConfigurationElement
Leadtools.Medical.Workstation.DataAccessLayer.Configuration.DataAccessMapping
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family
Copy Code