Click or drag to resize
MapperCoreSetExistingTargetOnGroupableModelElementMapping Method (GroupableModelElementMapping, IProjectElementMapTargetElement, Project, DBDriverBase)
Sets the passed in target as the new target of the GroupableModelElement mapping. It then will auto-map the GroupableModelElement fields to field elements in the target. If the target has no fields and the target is a table, the routine will auto-add new fields for every field mapping present in the mapping passed in, which requires a valid driver instance to be passed in.

Namespace: SD.LLBLGen.Pro.ApplicationCore.Mapping
Assembly: SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.0.0.0 (5.0.0)
Syntax
public static void SetExistingTargetOnGroupableModelElementMapping(
	GroupableModelElementMapping mapping,
	IProjectElementMapTargetElement target,
	Project containingProject,
	DBDriverBase driverToUse
)

Parameters

mapping
Type: SD.LLBLGen.Pro.ApplicationCore.MappingGroupableModelElementMapping
The mapping.
target
Type: SD.LLBLGen.Pro.DBDriverCoreIProjectElementMapTargetElement
The target.
containingProject
Type: SD.LLBLGen.Pro.ApplicationCore.ProjectClassesProject
The containing project.
driverToUse
Type: SD.LLBLGen.Pro.DBDriverCoreDBDriverBase
The driver to use.
See Also