mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-07 17:00:52 +08:00
Updated 实体特性 (markdown)
6
实体特性.md
6
实体特性.md
@@ -62,9 +62,11 @@ class Topic {
|
||||
|
||||
> decimal 指定长度 [Column(DbType = "decimal(10,2)")] 或者 [Column(Precision = 10, Scale = 2)]
|
||||
|
||||
> string 指定长度 [Column(DbType = "varchar(128)")] 或者 [MaxLength(128)] 或者 [Column(StringLength = 128)],当长度 -1 时产生的映射如下:
|
||||
> string 指定长度 [Column(DbType = "varchar(128)")] 或者 [MaxLength(128)] 或者 [Column(StringLength = 128)]
|
||||
|
||||
## Text类型 [StringLength(-1)]
|
||||
## Text类型 [Column(StringLength =-1)]
|
||||
|
||||
当长度 -1 时产生的映射如下:
|
||||
|
||||
| MySql | PostgreSQL | SqlServer | Oracle | Sqlite | Firebird | MsAccess | 达梦 | 金仓 | 神通 |
|
||||
| - | - | - | - | - | - | - | - | - | - |
|
||||
|
||||
Reference in New Issue
Block a user