PluralizationService.CreateService(CultureInfo) Method

Definition

Creates a PluralizationService that applies language rules that correspond to the specified CultureInfo.

public:
 static System::Data::Entity::Design::PluralizationServices::PluralizationService ^ CreateService(System::Globalization::CultureInfo ^ culture);
public static System.Data.Entity.Design.PluralizationServices.PluralizationService CreateService (System.Globalization.CultureInfo culture);
static member CreateService : System.Globalization.CultureInfo -> System.Data.Entity.Design.PluralizationServices.PluralizationService
Public Shared Function CreateService (culture As CultureInfo) As PluralizationService

Parameters

culture
CultureInfo

The CultureInfo that corresponds to the language rules applied for singular and plural forms of words.

Returns

The newly created PluralizationService object.

Remarks

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

Applies to