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.10.0.0 (5.10.0)
Syntax public static bool SyncName(
Action<string> renameFunc,
string currentElementName,
string oldGeneratedName,
string newGeneratedName,
bool syncMappedElementNamesAfterRefresh,
bool syncRenamedMappedElementNamesAfterRefresh
)
Public Shared Function SyncName (
renameFunc As Action(Of String),
currentElementName As String,
oldGeneratedName As String,
newGeneratedName As String,
syncMappedElementNamesAfterRefresh As Boolean,
syncRenamedMappedElementNamesAfterRefresh As Boolean
) As Boolean
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:
Booleantrue if sync took place, false otherwise
See Also