public PgAdapter(PgConfig pgConfig)
 {
     Config = pgConfig;
 }
 public PgAdapter()
 {
     Config = new PgConfig();
 }