PluralizationService Class
![]() |
---|
The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience. |
Provides methods for constructing plural and singular forms of words.
Assembly: System.Data.Entity.Design (in System.Data.Entity.Design.dll)
Name | Description | |
---|---|---|
![]() | PluralizationService() | Initializes a new instance of the PluralizationService class. |
Name | Description | |
---|---|---|
![]() | Culture | Gets or sets the PluralizationService culture. |
Name | Description | |
---|---|---|
![]() ![]() | CreateService(CultureInfo) | Creates a PluralizationService that applies language rules that correspond to the specified CultureInfo. |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | IsPlural(String) | Determines whether the specified word is plural. |
![]() | IsSingular(String) | Determines whether the specified word is singular. |
![]() | MemberwiseClone() | |
![]() | Pluralize(String) | Returns the plural form of the specified word |
![]() | Singularize(String) | Returns the singular form of the specified word. |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
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.
Available since 4.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.