Click or drag to resize
ProjectGetAllMappableTargetFields Method (GroupableModelElementMapping, IProjectElementMapTargetElement, Boolean)
Gets all mappable target fields. Normally this is the set of fields in the target specified, however if the mapped element in mapping is an entity in a hierarchy of TargetPerEntityHierarchy, fields which are already mapped in supertypes or subtypes are filtered out.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.3.0.0 (5.3.0)
Syntax
public IEnumerable<IProjectElementFieldMapTargetElement> GetAllMappableTargetFields(
	GroupableModelElementMapping mapping,
	IProjectElementMapTargetElement target,
	bool filterOutFieldsInMapping
)

Parameters

mapping
Type: SD.LLBLGen.Pro.ApplicationCore.MappingGroupableModelElementMapping
The mapping.
target
Type: SD.LLBLGen.Pro.DBDriverCoreIProjectElementMapTargetElement
The target. This target is explicitly specified, as it's the new target to set in mapping which is an action which could take place in the future
filterOutFieldsInMapping
Type: SystemBoolean
if set to true it will also filter out the fields in the mapping

Return Value

Type: IEnumerableIProjectElementFieldMapTargetElement
list of fields from target which are mappable in mapping
See Also