mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-07 08:50:52 +08:00
update
6
实体特性.md
6
实体特性.md
@@ -8,7 +8,11 @@ class Topic {
|
||||
}
|
||||
```
|
||||
|
||||
约定:当没有指明主键时,命名为 id 的字段将成为主键;(不区分大小写)
|
||||
约定:
|
||||
|
||||
* 当没有指明主键时,命名为 id 的字段将成为主键;(不区分大小写)
|
||||
|
||||
* 当主键是 Guid 类型时,插入时会自动创建(有序、不重复)的值,所以不需要自己赋值;(支持分布式)
|
||||
|
||||
## 自增(Identity)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user