Carbonated.Data
2.6.1
dotnet add package Carbonated.Data --version 2.6.1
NuGet\Install-Package Carbonated.Data -Version 2.6.1
<PackageReference Include="Carbonated.Data" Version="2.6.1" />
<PackageVersion Include="Carbonated.Data" Version="2.6.1" />
<PackageReference Include="Carbonated.Data" />
paket add Carbonated.Data --version 2.6.1
#r "nuget: Carbonated.Data, 2.6.1"
#:package Carbonated.Data@2.6.1
#addin nuget:?package=Carbonated.Data&version=2.6.1
#tool nuget:?package=Carbonated.Data&version=2.6.1
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 | Versions 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. |
-
net8.0
- Newtonsoft.Json (>= 13.0.3)
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 |