From 2589a791527aeccc5825960ec189ee4e8e6d7fa8 Mon Sep 17 00:00:00 2001 From: hello Date: Sat, 23 Nov 2024 09:31:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=91=BD=E5=90=8D=E8=A7=84?= =?UTF-8?q?=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- notes/helloshop/efcore-naming-conventions.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/notes/helloshop/efcore-naming-conventions.md b/notes/helloshop/efcore-naming-conventions.md index c580619..4631997 100644 --- a/notes/helloshop/efcore-naming-conventions.md +++ b/notes/helloshop/efcore-naming-conventions.md @@ -13,6 +13,8 @@ | KebabCaseLower | HelloShop | hello-shop | | KebabCaseUpper | HelloShop | HELLO-SHOP | +可使用 [Humanizr](https://github.com/Humanizr/Humanizer) 库将字符串转换为不同的命名风格。 + ## 表名使用单数还是复数 EF Core 默认情况下,表名使用单数形式,可以通过约定器或者手动指定复数表名,社区对单数和复数表名的争论一直存在,没有统一的标准,但零度推荐使用单数形式。