Exemplo n.º 1
0
 public override string ClassName(string tableName)
 {
     return(Inflector.Singular(MemberName(tableName).FirstUpper()));
 }
Exemplo n.º 2
0
 /// <summary>
 /// 把复数单词转换为单数单词
 /// </summary>
 /// <param name="str"></param>
 /// <returns></returns>
 public static string Singular(string str)
 {
     return(Inflector.Singular(str));
 }