PluralizationService.CreateService Method (CultureInfo)

.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.

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

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

public static PluralizationService CreateService(
	CultureInfo culture
)

Parameters

culture
Type: System.Globalization.CultureInfo

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

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: