Quick StartΒΆ
Install the NuGet package
Install-Package KnightMoves.SqlObjects
Import the namespace
using KnightMoves.SqlObjects;
Use the Fluent API through the static TSQL
class
var sql = TSQL
.SELECT()
.STAR()
.FROM("Products")
.Build()
;
Console.WriteLine(sql);
Output:
SELECT
*
FROM [Products]