From be09e421cea8dd1bc47807f4461ee781342ff95a Mon Sep 17 00:00:00 2001 From: dajiaohuang Date: Fri, 16 Oct 2026 09:42:12 +0800 Subject: [PATCH] Fix list initializer in bulk Execute README example --- Readme.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Readme.md b/Readme.md index c259528a5..7df0bf56d 100644 --- a/Readme.md +++ b/Readme.md @@ -139,9 +139,9 @@ Another example usage when you _already_ have an existing collection: ```csharp var foos = new List { - { new Foo { A = 1, B = 1 } } - { new Foo { A = 2, B = 2 } } - { new Foo { A = 3, B = 3 } } + new Foo { A = 1, B = 1 }, + new Foo { A = 2, B = 2 }, + new Foo { A = 3, B = 3 } }; var count = connection.Execute(@"insert MyTable(colA, colB) values (@a, @b)", foos);