pauldeen79.QueryFramework.SqlServer 0.13.12

There is a newer version of this package available.
See the version list below for details.
dotnet add package pauldeen79.QueryFramework.SqlServer --version 0.13.12                
NuGet\Install-Package pauldeen79.QueryFramework.SqlServer -Version 0.13.12                
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="pauldeen79.QueryFramework.SqlServer" Version="0.13.12" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add pauldeen79.QueryFramework.SqlServer --version 0.13.12                
#r "nuget: pauldeen79.QueryFramework.SqlServer, 0.13.12"                
#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 pauldeen79.QueryFramework.SqlServer as a Cake Addin
#addin nuget:?package=pauldeen79.QueryFramework.SqlServer&version=0.13.12

// Install pauldeen79.QueryFramework.SqlServer as a Cake Tool
#tool nuget:?package=pauldeen79.QueryFramework.SqlServer&version=0.13.12                

QueryFramework

Abstraction for executing SELECT queries on Sql Server, built on top of System.Data. (IDbConnection)

Fluent extensions to build queries.

Example using in-memory query provider:

var items = new[]
{
    new MyClass { Property = "A" },
    new MyClass { Property = "B" }
};
var sut = new QueryProvider<MyClass>(items);
var query = new SingleEntityQueryBuilder()
    .Where(nameof(MyClass.Property)).IsEqualTo("B")
    .Build();

var result = sut.Query(query);
// result only contains the second item because of the WHERE clause.

See unit tests for more examples.

Code generation

I am currently not storing generated files in the code repository. To generate, you have to trigger the code generation tool from either Visual Studio (hit F5) or a command prompt. This will replace all generated code.

Command to run code generation (example where you are in the root directory):

dotnet run --project ./src/QueryFramework.CodeGeneration\QueryFramework.CodeGeneration.csproj
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.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.13.17 85 3/16/2025
0.13.16 97 3/2/2025
0.13.15 105 2/18/2025
0.13.14 100 2/15/2025
0.13.13 95 12/28/2024
0.13.12 91 12/27/2024
0.13.11 102 12/18/2024
0.13.10 116 10/30/2024
0.13.9 138 10/18/2024
0.13.8 176 9/21/2024
0.13.7 112 9/13/2024
0.13.5 276 5/13/2024
0.13.4 127 5/5/2024
0.13.3 84 5/3/2024
0.13.2 83 5/3/2024
0.13.1 76 5/2/2024
0.13.0 123 4/24/2024
0.12.0 120 4/17/2024
0.11.0 133 3/24/2024
0.10.4 121 3/22/2024
0.10.3 122 3/20/2024
0.10.2 140 3/14/2024
0.10.1 144 3/9/2024
0.9.2 233 12/19/2023
0.9.1 184 11/24/2023
0.9.0 139 11/20/2023
0.8.0 160 9/13/2023
0.7.5 151 9/13/2023
0.7.4 187 5/28/2023
0.7.2 184 5/11/2023
0.7.1 174 5/10/2023
0.7.0 182 5/10/2023
0.6.21 452 8/24/2022
0.6.20 452 5/28/2022
0.6.19 472 5/26/2022
0.6.18 418 5/26/2022
0.6.17 473 4/20/2022
0.6.16 462 4/9/2022
0.6.15 459 4/1/2022
0.6.14 459 4/1/2022
0.6.13 475 3/13/2022
0.6.12 447 3/9/2022
0.6.11 449 3/9/2022
0.6.10 443 3/8/2022
0.6.9 470 3/6/2022
0.6.8 448 3/6/2022
0.6.7 458 3/6/2022
0.6.6 459 2/28/2022
0.6.5 453 2/28/2022
0.6.4 468 2/26/2022
0.6.3 456 2/23/2022
0.6.2 492 2/22/2022
0.6.1 449 2/8/2022
0.6.0 457 2/7/2022
0.5.20 476 2/5/2022
0.5.19 471 2/5/2022
0.5.18 508 2/4/2022
0.5.17 473 2/4/2022
0.5.16 335 1/2/2022
0.5.15 332 12/19/2021
0.5.14 324 12/18/2021
0.5.13 307 12/17/2021
0.5.12 314 12/16/2021
0.5.11 304 12/13/2021
0.5.10 327 12/10/2021
0.5.9 323 12/10/2021
0.5.8 289 12/10/2021
0.5.7 318 12/10/2021
0.5.6 511 12/9/2021
0.5.5 347 11/30/2021
0.5.4 302 11/28/2021
0.5.3 294 11/27/2021
0.5.2 1,546 11/26/2021
0.5.1 1,429 11/26/2021
0.5.0 1,441 11/26/2021
0.4.10 3,038 11/25/2021
0.4.9 3,180 11/24/2021
0.4.8 316 11/23/2021
0.4.7 298 11/23/2021
0.4.6 810 11/21/2021
0.4.5 1,063 11/20/2021
0.4.4 1,157 11/20/2021
0.4.3 806 11/19/2021
0.4.2 368 11/18/2021
0.4.1 308 11/18/2021
0.4.0 322 11/18/2021
0.3.0 298 11/14/2021
0.2.0 363 11/1/2021
0.1.2 371 10/23/2021
0.1.1 368 10/23/2021