using System.Collections.Generic;
using System.Data.SqlClient;
public int CustomerID {get;set;}
public string CustomerName {get;set;}
public string ContactName {get;set;}
public string Address {get;set;}
public string City {get;set;}
public string PostalCode {get;set;}
public string Country {get;set;}
public static void Main()
List<Customer> customers = new List<Customer>();
customers.Add(new Customer() { CustomerName = "ExampleBulkInsert", ContactName = "Example Name :" + i });
DapperPlusManager.Entity<Customer>().Table("Customers");
using (var connection = new SqlConnection(FiddleHelper.GetConnectionStringSqlServerW3Schools()))
connection.UseBulkOptions(options => options.AutoMapOutputDirection = false).BulkInsert(customers);
FiddleHelper.WriteTable("1 - Customers (from list)", customers);