SimpleStack - MS SQLServer Setup

sqlserver SQLServer Dialect is based on System.Data.SqlClient

Add packages in your project

dotnet add package SimpleStack.Orm
dotnet add package SimpleStack.Orm.SQLServer

Sample usage

using SimpleStack.Orm;
using SimpleStack.Orm.SqlServer;

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

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