public string QueryableName(string tableName)
 {
     return(Inflector.Plural(MemberName(tableName).FirstUpper()));
 }
Beispiel #2
0
 /// <summary>
 /// 把单数单词转化为复数单词
 /// </summary>
 /// <param name="str"></param>
 /// <returns></returns>
 public static string Plural(string str)
 {
     return(Inflector.Plural(str));
 }