mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-05 16:00:52 +08:00
update
12
实体特性.md
12
实体特性.md
@@ -71,12 +71,18 @@ class Topic {
|
||||
|
||||
> 当 string 长度 -1 时产生的映射如下:
|
||||
|
||||
| MySql | PostgreSQL | SqlServer | Oracle | Sqlite | MsAccess |
|
||||
| - | - | - | - | - | - |
|
||||
| text | text | varchar(max) | nclob | text | longtext |
|
||||
| MySql | PostgreSQL | SqlServer | Oracle | Sqlite | MsAccess | 达梦 | 金仓 | 神通 |
|
||||
| - | - | - | - | - | - | - | - | - |
|
||||
| text | text | varchar(max) | nclob | text | longtext | text | text | text |
|
||||
|
||||
> 注意:Oracle nclob 需要 v1.3.2+ 版本才支持,否则将映射 nvarchar2(4000)
|
||||
|
||||
> v1.6.0 + byte[] 指定长度 [MaxLength(-1)] 或者 [Column(StringLength = -1)],当长度 -1 时产生的映射如下:
|
||||
|
||||
| MySql | PostgreSQL | SqlServer | Oracle | Sqlite | MsAccess | 达梦 | 金仓 | 神通 |
|
||||
| - | - | - | - | - | - | - | - | - |
|
||||
| longblob | bytea | varbinary(max) | blob | blob | blob | blob | bytea | bytea |
|
||||
|
||||
## 服务器时间(ServerTime)
|
||||
|
||||
```csharp
|
||||
|
||||
1
更新日志.md
1
更新日志.md
@@ -9,6 +9,7 @@
|
||||
- 增加 IUnitOfWork Orm 属性直接访问 IFreeSql CRUD 事务与工作单元一致;
|
||||
- 增加 SqlExt 常用开窗函数的自定义表达式解析;
|
||||
- 增加 SqlExt.Case().When(..).End() 自定义表达式解析;
|
||||
- 增加 StringLength/MaxLength 对 byte\[\] 的支持;
|
||||
- 修复 IFreeSql.InsertOrUpdate Merge into 未处理 CanUpdate 的问题;#330
|
||||
- 修复 IUpdate Set(表达式) MapType 未生效的问题;
|
||||
- 修复 表达式 Not 位运算符解析错误;#340
|
||||
|
||||
12
类型映射.md
12
类型映射.md
@@ -76,12 +76,18 @@ public class S_SysConfig {
|
||||
|
||||
> string 指定长度 [Column(DbType = "varchar(max)")] 或者 [MaxLength(-1)] 或者 [Column(StringLength = -1)],当长度 -1 时产生的映射如下:
|
||||
|
||||
| MySql | PostgreSQL | SqlServer | Oracle | Sqlite | MsAccess |
|
||||
| - | - | - | - | - | - |
|
||||
| text | text | varchar(max) | nclob | text | longtext |
|
||||
| MySql | PostgreSQL | SqlServer | Oracle | Sqlite | MsAccess | 达梦 | 金仓 | 神通 |
|
||||
| - | - | - | - | - | - | - | - | - |
|
||||
| text | text | varchar(max) | nclob | text | longtext | text | text | text |
|
||||
|
||||
> 注意:Oracle nclob 需要 v1.3.2+ 版本才支持,否则将映射 nvarchar2(4000)
|
||||
|
||||
> v1.6.0 + byte[] 指定长度 [MaxLength(-1)] 或者 [Column(StringLength = -1)],当长度 -1 时产生的映射如下:
|
||||
|
||||
| MySql | PostgreSQL | SqlServer | Oracle | Sqlite | MsAccess | 达梦 | 金仓 | 神通 |
|
||||
| - | - | - | - | - | - | - | - | - |
|
||||
| longblob | bytea | varbinary(max) | blob | blob | blob | blob | bytea | bytea |
|
||||
|
||||
## MySql 特别类型映射
|
||||
|
||||
| csharp | MySql |
|
||||
|
||||
Reference in New Issue
Block a user