Share via


EnglishPluralizationService Class

Definition

Default pluralization service implementation to be used by Entity Framework. This pluralization service is based on English locale.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Pluralization")]
public sealed class EnglishPluralizationService : System.Data.Entity.Infrastructure.Pluralization.IPluralizationService
type EnglishPluralizationService = class
    interface IPluralizationService
Public NotInheritable Class EnglishPluralizationService
Implements IPluralizationService
Inheritance
EnglishPluralizationService
Attributes
Implements

Constructors

EnglishPluralizationService()

Constructs a new instance of default pluralization service used in Entity Framework.

EnglishPluralizationService(IEnumerable<CustomPluralizationEntry>)

Constructs a new instance of default pluralization service used in Entity Framework.

Methods

Pluralize(String)

Returns the plural form of the specified word.

Singularize(String)

Returns the singular form of the specified word.

Applies to