SimpleStack - PostgreSQL Setup

postgresql PostgreSQL Dialect is based on NpgSql

dotnet add package SimpleStack.Orm
dotnet add package SimpleStack.Orm.PostgreSQL

Sample usage

using SimpleStack.Orm;
using SimpleStack.Orm.PostgreSQL;

var factory = new OrmConnectionFactory(new PostgreSQLDialectProvider(), "CONNECTION_STRING");

using (var connection = factory.OpenConnection())
{
    // Start Querying Database
    var dogs = await connection.SelectAsync<Dog>(x => x.Age > 20);
}