PluralizationService.Singularize Method (String)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the singular form of the specified word.

Namespace:   System.Data.Entity.Design.PluralizationServices
Assembly:  System.Data.Entity.Design (in System.Data.Entity.Design.dll)

public abstract string Singularize(
	string word
)

Parameters

word
Type: System.String

The word to be made singular.

Return Value

Type: System.String

The singular form of the input parameter.

The PluralizationService class applies English rules for constructing plural and singular forms of words. To extend the service to other languages, use the T:System.Data.Entity.Design.EntityModelSchemaGenerator.PluralizationService on the EntityModelSchemaGenerator class.

.NET Framework
Available since 4.0
Return to top
Show: