ToSingular is called whenever a word (entity set/type, or member) is singularized.

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

Syntax

C#
public abstract string ToSingular(
	string word,
	string suggestion,
	string text,
	NameContextEnum nameContext,
	string parentName
)
Visual Basic
Public MustOverride Function ToSingular ( _
	word As String, _
	suggestion As String, _
	text As String, _
	nameContext As NameContextEnum, _
	parentName As String _
) As String
Visual C++
public:
virtual String^ ToSingular(
	String^ word, 
	String^ suggestion, 
	String^ text, 
	NameContextEnum nameContext, 
	String^ parentName
) abstract

Parameters

word
Type: System..::..String
The word to singularize.
suggestion
Type: System..::..String
Suggested singularization of {word}.
text
Type: System..::..String
Entire entity set/type, or member name.
nameContext
Type: HuagatiDBMLToolsExtensibility..::..NameContextEnum
Name context, describes the type of object being named
parentName
Type: System..::..String
Name of the parent object (if any)

Return Value

New/overridden singularized form of the word passed in the word parameter.

See Also