using Npgsql; namespace NewsBlogDatabaseImplementation { public class SqlConnection { public static NpgsqlConnection GetConnection() { return new NpgsqlConnection("Host=192.168.56.103;Port=5432;Username=postgres;Database=postgres;Password=postgres"); } } }