BeforeRenaming is called before the name rules are applied to a entity, entityset, or member name. The entity name to pass to the name tool can be overridden here, optionally also bypassing the naming rules altogether.

Namespace: HuagatiDBMLToolsExtensibility
Assembly: HuagatiDBMLToolsExtensibility (in HuagatiDBMLToolsExtensibility.dll) Version: 2.21.4038.20739

Syntax

C#
public abstract string BeforeRenaming(
	string name,
	NameContextEnum nameContext,
	out bool skipRules,
	string parentName
)
Visual Basic
Public MustOverride Function BeforeRenaming ( _
	name As String, _
	nameContext As NameContextEnum, _
	<OutAttribute> ByRef skipRules As Boolean, _
	parentName As String _
) As String
Visual C++
public:
virtual String^ BeforeRenaming(
	String^ name, 
	NameContextEnum nameContext, 
	[OutAttribute] bool% skipRules, 
	String^ parentName
) abstract

Parameters

name
Type: System..::..String
Entity name before applying name rules.
nameContext
Type: HuagatiDBMLToolsExtensibility..::..NameContextEnum
Name context, describes the type of object being named
skipRules
Type: System..::..Boolean%
Out parameter; if set to true, the name rules will not be applied to the current entity.
parentName
Type: System..::..String
Name of the parent object (if any)

Return Value

The new entity name.

See Also