OPC Studio User's Guide and Reference
DAClientMapper Constructor(IEasyDAClient,DAMappingProvider,DAMappingContext)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc.DataAccess.LiveMapping Namespace > DAClientMapper Class > DAClientMapper Constructor : DAClientMapper Constructor(IEasyDAClient,DAMappingProvider,DAMappingContext)
The client object that this mapper will use to make OPC operations.

This is typically the OpcLabs.EasyOpc.DataAccess.EasyDAClient object.

The value of this parameter cannot be null (Nothing in Visual Basic).

The mapping provider to be used by this mapper.

The value of this parameter cannot be null (Nothing in Visual Basic).

The mapping context template.

The value of this parameter can be null (Nothing in Visual Basic).

Initializes a new instance of the class, with given client object, mapping provider, and mapping context template.
Syntax
'Declaration
 
Public Function New( _
   ByVal client As IEasyDAClient, _
   ByVal mappingProvider As DAMappingProvider, _
   ByVal mappingContextTemplate As DAMappingContext _
)
'Usage
 
Dim client As IEasyDAClient
Dim mappingProvider As DAMappingProvider
Dim mappingContextTemplate As DAMappingContext
 
Dim instance As New DAClientMapper(client, mappingProvider, mappingContextTemplate)

Parameters

client
The client object that this mapper will use to make OPC operations.

This is typically the OpcLabs.EasyOpc.DataAccess.EasyDAClient object.

The value of this parameter cannot be null (Nothing in Visual Basic).

mappingProvider
The mapping provider to be used by this mapper.

The value of this parameter cannot be null (Nothing in Visual Basic).

mappingContextTemplate
The mapping context template.

The value of this parameter can be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also