mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-04 23:40:53 +08:00
Updated 实体特性 (markdown)
2
实体特性.md
2
实体特性.md
@@ -124,7 +124,7 @@ class Topic {
|
|||||||
|
|
||||||
使用数据库时间执行插入数据,注意:
|
使用数据库时间执行插入数据,注意:
|
||||||
|
|
||||||
1、一但设置了这个特性,插入的时候设置属性值是无效的;
|
1、一但设置了这个特性,插入的时候设置属性值是无效的,解决方法:fsql.Insert((new Type())).IgnoreInsertValueSql("CreateTime");;
|
||||||
|
|
||||||
2、插入实体执行成功后,实体的值还是 c# 时间;
|
2、插入实体执行成功后,实体的值还是 c# 时间;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user