Compartilhar via


DbConfiguration.SetPluralizationService(IPluralizationService) Método

Definição

Chame esse método do construtor de uma classe derivada de DbConfiguration para definir o serviço de pluralização.

[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)

Parâmetros

pluralizationService
IPluralizationService

O serviço de pluralização a ser usado.

Atributos

Aplica-se a