From af273537b34ed45a8ef24d44125de0f5d5100b24 Mon Sep 17 00:00:00 2001 From: 2881099 <2881099@qq.com> Date: Wed, 17 Aug 2022 11:26:45 +0800 Subject: [PATCH] update --- Insert-Data.md | 2 ++ 添加.md | 2 ++ 2 files changed, 4 insertions(+) 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