dotnet add package RFBCodeWorks.SqlKata.Extensions --version
NuGet\Install-Package RFBCodeWorks.SqlKata.Extensions -Version
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="RFBCodeWorks.SqlKata.Extensions" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add RFBCodeWorks.SqlKata.Extensions --version
#r "nuget: RFBCodeWorks.SqlKata.Extensions,"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install RFBCodeWorks.SqlKata.Extensions as a Cake Addin
#addin nuget:?package=RFBCodeWorks.SqlKata.Extensions&version=

// Install RFBCodeWorks.SqlKata.Extensions as a Cake Tool
#tool nuget:?package=RFBCodeWorks.SqlKata.Extensions&version=



This library primarily contains extension methods for converting SqlKata.Query objects to System.Data.DbCommand objects.

This library also provides some helper objects that can be used to dynamically create SqlKata queries.


  • This class is designed to help with dynamically building a SELECT query
  • It accepts IWhereCondition objects that will provide the 'WHERE' clauses to determine what should be selected.


Interface that allows an object to apply a 'WHERE' clause to a SqlKata.Query


These objects represent the various 'operators' in use by the library, and ensure that a proper operator (such as '=') is supplied to the query builder.

Where* classes

These objects generate various types of 'Where' clauses. For example, the 'WhereNumericValue' class will accept a numeric value, a NumericOperator and a column name, then generate the following clause: "WHERE [Column] = Value" The actual sql being generated here though will be determined by the SqlKata.Compiler object that is used.

Required Libraries

  • SqlKata
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

NuGet packages (1)

Showing the top 1 NuGet packages that depend on RFBCodeWorks.SqlKata.Extensions:

Package Downloads

A library that is meant to extend the SqlKata Query Builder with objects that represent Database and Database Tables. This allows a 'Database' object with its own tables to be constructed, then queried more easily via methods that help build (or run) the query. This differs from Dapper and SqlKata.Execution (which uses Dapper) in that it models the concept of the database, but it also returns raw values and DataTables. SqlKata is just being used behind the scenes to generate the SQL commands. Example: The 'DataBaseTable.Select(params string[] columns)' method will return a query that requests the specified columns from the DataBaseTable object. The TableName is descibed as a property of the DataBaseTable object. The 'DataBaseTable.GetDataTable(params string[] columns)' will use the method described above to create the query, then will run the query against the parent Database object, and finally return a System.Data.DataTable.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated 1,171 1/20/2024 585 1/20/2024 668 9/26/2023
1.0.0 3,502 1/10/2023

Updated NuGet packages