Click or drag to resize

ProjectAutoMapUnmappedEntitiesToTargets Method (IEnumerableEntityDefinition, String, Boolean, DictionaryProgressCallBack, Object)

Will auto-map all specified entities to existing or new targets if they're not mapped currently to a target in a given database.

Namespace:  SD.LLBLGen.Pro.ApplicationCore.ProjectClasses
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.7.0.0 (5.7.0)
Syntax
public LogNode AutoMapUnmappedEntitiesToTargets(
	IEnumerable<EntityDefinition> entitiesToMap,
	string forDriverID,
	bool existingTargetsOnly,
	Dictionary<ProgressCallBack, Object> callBacks
)

Parameters

entitiesToMap
Type: System.Collections.GenericIEnumerableEntityDefinition
The entities to map. If null, all entities in the entire project are examined
forDriverID
Type: SystemString
Automap only entities to targets in the db with this ID. If empty/null, all databases are targeted.
existingTargetsOnly
Type: SystemBoolean
if set to true automap will only map targets to existing targets and won't create new ones if no existing target is present.
callBacks
Type: System.Collections.GenericDictionaryProgressCallBack, Object
Callbacks to give feedback back

Return Value

Type: LogNode
log node with progress log
Remarks
Call this method with a command to make the whole operation undoable
See Also