added pluralizationclass from Humanizer, and set collections names to camel case instead of lower case for better readability.

This commit is contained in:
alexandre-spieser
2017-09-03 19:00:02 +00:00
parent 37c6f38d5d
commit b94b499c10
6 changed files with 453 additions and 7 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ namespace MongoDbGenericRepository
/// <returns></returns>
private string Pluralize<TDocument>()
{
return typeof(TDocument).Name.ToLower() + "s";
return (typeof(TDocument).Name.Pluralize()).Camelize();
}
}
}