TFORMer SDK - NET 8
Public Member Functions | Properties | List of all members
DSFieldMapping Class Reference

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

Public Member Functions

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

Properties

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

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

◆ Dispose()

void Dispose ( )

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

◆ ToString()

override string ToString ( )

Returns a string representation of the instance.

Returns
A string representation of the instance

Property Documentation

◆ DataField

string DataField
getset

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

◆ Next

DSFieldMapping Next
get

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

◆ SourceField

string SourceField
getset

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-2023 - all rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Thu Dec 28 2023 18:45:19 for TFORMer SDK - NET with doxygen 1.9.4