From bb071db71ea4458480228c47ce9e80f0a2a1e0e9 Mon Sep 17 00:00:00 2001 From: IGeekFan Date: Sat, 5 Dec 2020 12:16:11 +0800 Subject: [PATCH] =?UTF-8?q?Updated=20=E5=AE=9E=E4=BD=93=E7=89=B9=E6=80=A7?= =?UTF-8?q?=20(markdown)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 实体特性.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/实体特性.md b/实体特性.md index a39f049..d8a1fec 100644 --- a/实体特性.md +++ b/实体特性.md @@ -64,6 +64,8 @@ class Topic { > string 指定长度 [Column(DbType = "varchar(128)")] 或者 [MaxLength(128)] 或者 [Column(StringLength = 128)],当长度 -1 时产生的映射如下: +## Text类型 [StringLength(-1)] + | MySql | PostgreSQL | SqlServer | Oracle | Sqlite | Firebird | MsAccess | 达梦 | 金仓 | 神通 | | - | - | - | - | - | - | - | - | - | - | | text | text | nvarchar(max) | nclob | text | blob sub_type 1 | longtext | text | text | text |