Carbonated.Data 2.6.1

dotnet add package Carbonated.Data --version 2.6.1
                    
NuGet\Install-Package Carbonated.Data -Version 2.6.1
                    
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="Carbonated.Data" Version="2.6.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Carbonated.Data" Version="2.6.1" />
                    
Directory.Packages.props
<PackageReference Include="Carbonated.Data" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Carbonated.Data --version 2.6.1
                    
#r "nuget: Carbonated.Data, 2.6.1"
                    
#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.
#:package Carbonated.Data@2.6.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Carbonated.Data&version=2.6.1
                    
Install as a Cake Addin
#tool nuget:?package=Carbonated.Data&version=2.6.1
                    
Install as a Cake Tool

About

Carbonated Data is a data access library built on top of the .NET data access system. Its primary purpose is to allow quick and easy loading of tabular data from a SQL database directly into entities, eliminating the need to write table-to-entity conversion code.

It is not an ORM, and has no interest in controlling the structure of the database. It is focused on making querying and loading of relational data into entities as smooth and painless as possible.

How to Use

// Examples setup

class City {
  public int Id { get; set; }
  public string Name { get; set; }
  public string State { get; set; }
  public int Population { get; set; }
}

string connString = "<load from cfg>";
// Create a SQL Server DbConnector from the Carbonated.Data.SqlServer pacakge and execute a simple query

var connector = new SqlServerDbConnector(connString);
var cities = connector.Query<City>("select * from cities");
// Create a DbConnector, passing in a SQL Server ObjectFactory, to execute a stored procedure with parameters

var connector = new DbConnector(new SqlServerObjectFactory(), connString);
var cities = connector.Query<City>("GetCitiesByState", ("@State", "TX"));
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Carbonated.Data:

Package Downloads
Carbonated.Data.SqlServer

SqlServer implementation of Carbonated Data.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.6.1 313 6/4/2025
2.6.0 319 6/3/2025
2.5.0 196 5/26/2025
2.4.0 192 5/22/2025
2.3.0 353 11/21/2024
2.2.0 359 2/22/2024
2.1.0 321 8/29/2023
2.0.0 290 8/14/2023
1.3.0 737 8/31/2021
1.2.0 713 3/10/2021
1.1.4 1,048 10/4/2018
1.1.3 1,440 7/31/2018
1.1.2 1,354 7/23/2018
1.1.1 1,621 7/9/2018
1.1.0 1,566 7/3/2018