update

28810
2020-06-23 14:39:01 +08:00
parent 9ad31f2df7
commit fe34ad5370
3 changed files with 19 additions and 6 deletions

@@ -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

@@ -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

@@ -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 |