TFORMer SDK - NET  8
Public Member Functions | Properties
DSFieldMapping Class Reference

DSFieldMapping defines the field-mappings between a DataSource and the DataFields used in a Formlayout. More...

List of all members.

Public Member Functions

void Dispose ()
 Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
override string ToString ()
 Returns a string representation of the instance.

Properties

string DataField [get, set]
 Gets/Sets the target DataField-name of the DSFieldMapping.
DSFieldMapping Next [get]
 Gets the next DSFieldMapping in the DataSource.
string SourceField [get, set]
 Gets/Sets the source-field name of the DSFieldMapping.

Detailed Description

DSFieldMapping defines the field-mappings between a DataSource and the DataFields used in a Formlayout.

Overview

Defines the field mapping between the fields in a DataSource (the source fields) and the DataFields used in a Formlayout.

When printing a Job with JobData it is required, that the DataField names in the JobData matches the names of the DataFields in the FormLayout. DSFieldMappings are only available for user-defined DataSources (see JobDataDataSource) and can be adjusted with TFORMer Designer as part of a DataSource definition.

The main properties to characterize a DSFieldMapping are:

More Information

See also:
DataSource

Member Function Documentation

void Dispose ( )

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

override string ToString ( )

Returns a string representation of the instance.

Returns:
A string representation of the instance

Property Documentation

string DataField [get, set]

Gets/Sets the target DataField-name of the DSFieldMapping.

This property specifies the name of the target DataField (as used in the FormLayout), which receives the data from the source-field (see SourceField).

Parameters:
valueThe target DataField of the DSFieldMapping

Gets the next DSFieldMapping in the DataSource.

A DataSource stores a list of DSFieldMapping objects. You can use this method to iterate through the list. To retrieve the first DataSource in the DataSource see DataSource.FirstFieldMapping.

Returns:
The next DSFieldMapping object in the list or null
string SourceField [get, set]

Gets/Sets the source-field name of the DSFieldMapping.

This property specifies the column name of the DataSource

Parameters:
valueThe source-field of the DSFieldMapping

© 2006-2024 - all rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed Aug 7 2024 17:29:42 for TFORMer SDK - NET with doxygen 1.7.6.1