DbConfiguration.SetPluralizationService(IPluralizationService) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework