Where do I find System.Data.Entity.Design.PluralizationServices in .NET CORE 5.0

1.8k Views Asked by At

My .NET 4.0 app used the PluralizationServices located in System.Data.Entity.Design.PluralizationServices. When I went to convert my app to .NET CORE 5.0, the compiler complains:

The type or namespace name 'PluralizationService' could not be found (are you missing a using directive or an assembly reference?)

I've tried using System.Data, and using System.Data.Common.

Where do I find this in .NET 5.0?

1

There are 1 best solutions below

1
Hugh W On BEST ANSWER

System.Data.Entity.Design.PluralizationServices is not available in .NET Core or .NET.

See the docs here (try switching that page to .NET 5/.NET Core; you cannot) and also this comment from the devs.

Possible replacements include PluralizeService.Core, Pluralize.NET, or Humanizer.