diff --git a/Insert-Data.md b/Insert-Data.md index 06880e2..d9945f8 100644 --- a/Insert-Data.md +++ b/Insert-Data.md @@ -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 diff --git a/添加.md b/添加.md index 26909bb..3482d0d 100644 --- a/添加.md +++ b/添加.md @@ -46,6 +46,8 @@ repo.Insert(items[0]); > 内部会将插入后的自增值填充给 items[0].Id (支持批量插入回填) +> DbFirst 模式序列:[Column(IsIdentity = true, InsertValueSql = "seqname.nextval")] + ## 2、批量插入 ```csharp