Click or drag to resize

GroupableModelElementMapping.CreateNewFieldMapping Method

Creates the new field mapping between the field specified and the specified target and adds it to this mapping's list of fieldmappings

Namespace:  SD.LLBLGen.Pro.ApplicationCore.Mapping
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.5.0.0 (5.5.18.1019)
Syntax
protected virtual FieldMapping CreateNewFieldMapping(
	IMappableField field,
	IProjectElementFieldMapTargetElement targetField,
	Project containingProject,
	TypeConverterDefinition converterToUse
)

Parameters

field
Type: SD.LLBLGen.Pro.ApplicationCore.Interfaces.IMappableField
The field.
targetField
Type: SD.LLBLGen.Pro.DBDriverCore.IProjectElementFieldMapTargetElement
The target field.
containingProject
Type: SD.LLBLGen.Pro.ApplicationCore.ProjectClasses.Project
The containing project.
converterToUse
Type: SD.LLBLGen.Pro.ApplicationCore.GeneralDataStructures.TypeConverterDefinition
The converter to use.

Return Value

Type: FieldMapping
the created fieldmapping
See Also