Click or drag to resize

ApplicationUtilsSyncName Method

Syncs the name using the renamefunc if the generated names differ and based on settings set in project/preferences

Namespace:  SD.LLBLGen.Pro.ApplicationCore
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.11.0.0 (5.11.23.1114)
Syntax
public static bool SyncName(
	Action<string> renameFunc,
	string currentElementName,
	string oldGeneratedName,
	string newGeneratedName,
	bool syncMappedElementNamesAfterRefresh,
	bool syncRenamedMappedElementNamesAfterRefresh
)

Parameters

renameFunc
Type: SystemActionString
The rename func.
currentElementName
Type: SystemString
Current name of the element.
oldGeneratedName
Type: SystemString
Old name generated from the target.
newGeneratedName
Type: SystemString
New name generated from the target.
syncMappedElementNamesAfterRefresh
Type: SystemBoolean
value to use for this setting retrieved from preferences/project properties
syncRenamedMappedElementNamesAfterRefresh
Type: SystemBoolean
value to use for this setting retrieved from preferences/project properties

Return Value

Type: Boolean
true if sync took place, false otherwise
See Also