SIFWorks ADK 2.0
Map Method (values, data, direction)
NamespacesEdustructures.SifWorks.Tools.MappingMappingsMap(IDictionary, SifDataObject, MappingDirection)

[This is preliminary documentation and is subject to change.]

Populate a SifDataObject from values in the supplied IDictionary. This form of the map method allows the client to specify whether it is performing an inbound or outbound mapping operation. Currently, the direction flag is used to invoke automatic ValueSet translations on fields that have a ValueSet attribute.
Declaration Syntax
C#Visual BasicVisual C++
public void Map(
	IDictionary values,
	SifDataObject data,
	MappingDirection direction
)
Public Sub Map ( _
	values As IDictionary, _
	data As SifDataObject, _
	direction As MappingDirection _
)
public:
void Map (
	IDictionary^ values, 
	SifDataObject^ data, 
	MappingDirection direction
)
Parameters
values (IDictionary)
A IDictionary that contains field values to assign to the supplied SifDataObject, where each entry in the map is keyed by the local application-defined name of a field and the value is the text value to assign to the corresponding element or attribute of the SifDataObject.
data (SifDataObject)
The SifDataObject to assign field values to
direction (MappingDirection)
The direction of mapping
Exceptions
ExceptionCondition
AdkMappingException thrown if an error occurs while evaluating a field rule @since Adk 1.5

Assembly: Edustructures.SifWorks.Adk (Module: Edustructures.SifWorks.Adk) Version: 2.0.0.10