public static string GetGetRepositoryMethodName(this IDbObject dbObject)
 => string.Format("Get{0}Async", dbObject.GetEntityName());
 public static string GetSingularName(this IDbObject dbObject)
 => NamingService.Singularize(dbObject.GetEntityName());
 public static string GetPluralName(this IDbObject dbObject)
 => NamingService.Pluralize(dbObject.GetEntityName());
Пример #4
0
 public static string GetRequestModelName(this IDbObject dbObject)
 => string.Format("{0}RequestModel", dbObject.GetEntityName());