update

2881099
2022-08-17 11:26:45 +08:00
parent c002ec83b2
commit af273537b3
2 changed files with 4 additions and 0 deletions

@@ -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) > 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 ## 2. Batch Insert
```csharp ```csharp

@@ -46,6 +46,8 @@ repo.Insert(items[0]);
> 内部会将插入后的自增值填充给 items[0].Id (支持批量插入回填) > 内部会将插入后的自增值填充给 items[0].Id (支持批量插入回填)
> DbFirst 模式序列:[Column(IsIdentity = true, InsertValueSql = "seqname.nextval")]
## 2、批量插入 ## 2、批量插入
```csharp ```csharp