PluralizationService.IsPlural Method (String)

.NET Framework (current version)

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

Determines whether the specified word is plural.

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

public abstract bool IsPlural(
	string word


Type: System.String

The value to be analyzed.

Return Value

Type: System.Boolean

true if the word is plural; otherwise, false.

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.

Both the M:System.Data.Entity.Design.PluralizationServices.PluralizationService.IsPlural and M:System.Data.Entity.Design.PluralizationServices.PluralizationService.IsSingular methods can return true for the same word. For example, both methods will return true for the word "fish".

.NET Framework
Available since 4.0
Return to top