.NET4のFULLが必要(Client Profileの場合プロジェクトの設定を変える)
System.Data.Entity.Designを参照に追加
1 2 3 4 |
using System.Data.Entity.Design.PluralizationServices; ... PluralizationService ps = PluralizationService.CreateService(CultureInfo.GetCultureInfo("en-us")); ret = ps.Singularize(word); |