Exemplo n.º 1
0
 public void Initialize()
 {
     //this._db = PostgreSql.Create("Server=127.0.0.1;Port=5432;Database=InventoryDB;User Id=inventory_user;Password=sa", new NpgsqlDbConfiguration());
     this._db = PostgreSql.Connect("127.0.0.1", "InventoryDB", 5432, "inventory_user", "sa");
 }
Exemplo n.º 2
0
 public void Initialize()
 {
     //this._db = PostgreSql.Create("Server=127.0.0.1;Port=5432;Database=InventoryDB;User Id=inventory_user;Password=sa", new NpgsqlDbConfiguration());
     this._db = PostgreSql.Connect("127.0.0.1", "InventoryDB", 5432, "inventory_user", "sa");
 }