1 write to Culture
System.Data.Entity.Design (1)
System\Data\Entity\Design\PluralizationService\EnglishPluralizationService.cs (1)
262this.Culture = new CultureInfo("en");
43 references to Culture
System.Data.Entity.Design (43)
System\Data\Entity\Design\PluralizationService\EnglishPluralizationService.cs (43)
328if (this.IsUninflective(word) || this._knownPluralWords.Contains(word.ToLower(this.Culture))) 355if (this.IsUninflective(word) || this._knownSingluarWords.Contains(word.ToLower(this.Culture))) 421(s) => s.Remove(s.Length - 2, 2) + "en", this.Culture, out newSuffixWord)) 429(s) => s.Remove(s.Length - 4, 4) + "ice", this.Culture, out newSuffixWord)) 436(s) => s.Remove(s.Length - 4, 4) + "eeth", this.Culture, out newSuffixWord)) 442(s) => s.Remove(s.Length - 4, 4) + "eese", this.Culture, out newSuffixWord)) 448(s) => s.Remove(s.Length - 3, 3) + "eet", this.Culture, out newSuffixWord)) 454(s) => s.Remove(s.Length - 3, 3) + "oa", this.Culture, out newSuffixWord)) 460(s) => s.Remove(s.Length - 2, 2) + "es", this.Culture, out newSuffixWord)) 480(s) => s.Remove(s.Length - 1, 1) + "ces", this.Culture, out newSuffixWord)) 487(s) => s + "x", this.Culture, out newSuffixWord)) 498if (PluralizationServiceUtil.TryInflectOnSuffixInWord(suffixWord, new List<string>() { "ch", "sh", "ss" }, (s) => s + "es", this.Culture, out newSuffixWord)) 506(s) => s.EndsWith("deaf", true, this.Culture) ? s : s.Remove(s.Length - 1, 1) + "ves", this.Culture, out newSuffixWord)) 513(s) => s.Remove(s.Length - 2, 2) + "ves", this.Culture, out newSuffixWord)) 521(s) => s + "s", this.Culture, out newSuffixWord)) 528if (suffixWord.EndsWith("y", true, this.Culture)) 541(s) => s + "s", this.Culture, out newSuffixWord)) 546if (suffixWord.EndsWith("o", true, this.Culture) || suffixWord.EndsWith("s", true, this.Culture)) 551if (suffixWord.EndsWith("x", true, this.Culture)) 636(s) => s.Remove(s.Length - 2, 2) + "an", this.Culture, out newSuffixWord)) 644(s) => s.Remove(s.Length - 3, 3) + "ouse", this.Culture, out newSuffixWord)) 651(s) => s.Remove(s.Length - 4, 4) + "ooth", this.Culture, out newSuffixWord)) 657(s) => s.Remove(s.Length - 4, 4) + "oose", this.Culture, out newSuffixWord)) 663(s) => s.Remove(s.Length - 3, 3) + "oot", this.Culture, out newSuffixWord)) 669(s) => s.Remove(s.Length - 2, 2) + "oon", this.Culture, out newSuffixWord)) 677(s) => s.Remove(s.Length - 2, 2), this.Culture, out newSuffixWord)) 698(s) => s.Remove(s.Length - 3, 3) + "x", this.Culture, out newSuffixWord)) 705(s) => s.Remove(s.Length - 1, 1), this.Culture, out newSuffixWord)) 718(s) => s.Remove(s.Length - 3, 3) + "f", this.Culture, out newSuffixWord)) 725(s) => s.Remove(s.Length - 3, 3) + "fe", this.Culture, out newSuffixWord)) 733(s) => s.Remove(s.Length - 1, 1), this.Culture, out newSuffixWord)) 740if (suffixWord.EndsWith("ies", true, this.Culture)) 753(s) => suffixWord.Remove(suffixWord.Length - 1, 1), this.Culture, out newSuffixWord)) 765(s) => s.Remove(s.Length - 1, 1), this.Culture, out newSuffixWord)) 772(s) => s.Remove(s.Length - 2, 2), this.Culture, out newSuffixWord)) 777if (suffixWord.EndsWith("oes", true, this.Culture)) 782if (suffixWord.EndsWith("ss", true, this.Culture)) 787if (suffixWord.EndsWith("s", true, this.Culture)) 865if (PluralizationServiceUtil.DoesWordContainSuffix(word, _uninflectiveSuffixList, this.Culture) 866|| (!word.ToLower(this.Culture).Equals(word) && word.EndsWith("ese", false, this.Culture))