Share via


DbConfiguration.SetPluralizationService(IPluralizationService) Method

Definition

Call this method from the constructor of a class derived from DbConfiguration to set the pluralization service.

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

Parameters

pluralizationService
IPluralizationService

The pluralization service to use.

Attributes

Applies to