Example #1
0
 public DatabasePocoSamples(string connectionString, TextWriter log)
 {
     this.db = new Database(connectionString) {
     Configuration = {
        Log = log
     }
      };
 }
Example #2
0
        public SqlSetSamples(DbConnection conn, TextWriter log)
        {
            var db = new Database(conn) {
            Configuration = {
               Log = log
            }
             };

             this.products = db.From<Product>("Products");
        }