Partager via


DbConfiguration.SetPluralizationService(IPluralizationService) Méthode

Définition

Appelez cette méthode à partir du constructeur d’une classe dérivée de DbConfiguration pour définir le service de pluralisation.

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="pluralization")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Pluralization")]
protected internal void SetPluralizationService (System.Data.Entity.Infrastructure.Pluralization.IPluralizationService pluralizationService);
member this.SetPluralizationService : System.Data.Entity.Infrastructure.Pluralization.IPluralizationService -> unit
Protected Friend Sub SetPluralizationService (pluralizationService As IPluralizationService)

Paramètres

pluralizationService
IPluralizationService

Service de pluralisation à utiliser.

Attributs

S’applique à