src/Shared/EntityFramework/Infrastructure/Pluralization/EnglishPluralizationService.cs
// <summary>
// separate one combine word in to two parts, prefix word and the last word(suffix word)
// </summary>
separate one combine word in to two parts, prefix word and the last word(suffix word)
separate one combine word in to two parts prefix word and the last word ( suffix word )
private static string GetSuffixWord(string word, out string prefixWord)
        {
            var lastSpaceIndex = word.LastIndexOf(' ');
            prefixWord = word.Substring(0, lastSpaceIndex + 1);
            return word.Substring(lastSpaceIndex + 1);
        }
private static string GetSuffixWord ( string word , out string prefixWord ) { var lastSpaceIndex = word . LastIndexOf ( ' ' ) ; prefixWord = word . Substring ( 0 , lastSpaceIndex + 1 ) ; return word . Substring ( lastSpaceIndex + 1 ) ; }
separate one combine word in to two parts, prefix word and the last word(suffix word)
separate one combine word in to two parts prefix word and the last word ( suffix word )
// use the last space to separate the words // CONSIDER(leil): use capital letters to separate the words
word
string
string
out