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"); }
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"); }