mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-03-16 02:50:57 +08:00
update
6
实体特性.md
6
实体特性.md
@@ -195,6 +195,12 @@ public class S_SysConfig<T>
|
||||
|
||||
创建表时指定字段位置,如:[Column(Position = 1],可为负数即反方向位置;
|
||||
|
||||
## 可插入(CanInsert)、可更新(CanUpdate)
|
||||
|
||||
该字段是否可以插入或更新,默认值true,指定为false插入或更新时该字段会被忽略。
|
||||
|
||||
当指明了 InsertColumn/UpdateColumns 等方法时,该特性作用可能失效。例如 CanInsert = false 时,又指明了 InsertColumns 该属性,则仍然会插入。
|
||||
|
||||
## 名称
|
||||
|
||||
FreeSql 默认使用实体的类名,或属性名与数据库映射,也可以指定映射的名称;
|
||||
|
||||
4
更新日志.md
4
更新日志.md
@@ -1,6 +1,10 @@
|
||||
|
||||
完整版本:年数-月-日-当日版本号,FreeSql、FreeSql.Repository、FreeSql.DbContext 版本号相同。
|
||||
|
||||
## v0.10.4
|
||||
|
||||
- 增加 ColumnAttribute 可插入(CanInsert)、可更新(CanUpdate);#99
|
||||
|
||||
## v0.10.3
|
||||
|
||||
- 增加 NavigateAttribute 特性对应的 Fluent 功能;#96
|
||||
|
||||
Reference in New Issue
Block a user