mirror of
https://github.com/dotnetcore/FreeSql.git
synced 2026-02-04 15:30:53 +08:00
update
@@ -43,6 +43,8 @@ repo.Insert(items[0]);
|
||||
```
|
||||
> In the internal implementation, after inserting the data, the self-incremental value will be assigned to `items[0].Id` (support batch insert backfill)
|
||||
|
||||
> DbFirst sequence: [Column(IsIdentity = true, InsertValueSql = "seqname.nextval")]
|
||||
|
||||
## 2. Batch Insert
|
||||
|
||||
```csharp
|
||||
|
||||
2
添加.md
2
添加.md
@@ -46,6 +46,8 @@ repo.Insert(items[0]);
|
||||
|
||||
> 内部会将插入后的自增值填充给 items[0].Id (支持批量插入回填)
|
||||
|
||||
> DbFirst 模式序列:[Column(IsIdentity = true, InsertValueSql = "seqname.nextval")]
|
||||
|
||||
## 2、批量插入
|
||||
|
||||
```csharp
|
||||
|
||||
Reference in New Issue
Block a user