using System.Collections.Generic;
using Microsoft.Data.SqlClient;
public static void Main()
var connection = new SqlConnection(FiddleHelper.GetConnectionStringSqlServer());
connection.CreateTable<Customer>("Customers");
FiddleHelper.WriteTable("Customers:", connection.Query<Customer>("SELECT * FROM Customers"));
public int CustomerID { get; set; }
public string Name { get; set; }
public string Email { get; set; }