public DatabasePocoSamples(string connectionString, TextWriter log) { this.db = new Database(connectionString) { Configuration = { Log = log } }; }
public SqlSetSamples(DbConnection conn, TextWriter log) { var db = new Database(conn) { Configuration = { Log = log } }; this.products = db.From<Product>("Products"); }