NReco.Data 1.0.4

Fast data access library for .NET Core (micro-ORM): simple API for CRUD, dynamic queries, SQL commands generation (command builder), relational expressions parser, schema-less data access, flexible query results mapping to annotated POCO models, app-level data views, RecordSet structure (replacement for DataTable). Try out NReco.Data if you're looking for Dapper alternative with abstract queries and automated SQL generation.

There is a newer version of this package available.
See the version list below for details.
Install-Package NReco.Data -Version 1.0.4
dotnet add package NReco.Data --version 1.0.4
<PackageReference Include="NReco.Data" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NReco.Data --version 1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Source code and examples: https://github.com/nreco/data

v.1.0.4 changes:
- added DbDataAdapter.Select overload that accepts FormattableString (like in EF Core)
- netstandard2.0 build
- added DataReaderResult.ToDataTable and DbDataAdapter.SelectQuery.ToDataTable methods (net45/netstandard2.0)

v.1.0.3 changes:
- Changed DbParameter to IDbDataParameter in CommandParameter constructor
- Added RecordSet.FromReader overload that accepts limit parameter

v.1.0.2 changes:
- added DataReaderResult class that can map data from any IDataReader to model/dictionary/recordset
- added DbDataAdapter.Select(IDbCommand cmd) overload (execute custom db command)
- added ExecuteReader/ExecuteReaderAsync methods to DbDataAdapter.SelectQuery for custom result handling (needed for multiple result sets support)

NuGet packages (2)

Showing the top 2 NuGet packages that depend on NReco.Data:

Package Downloads
NReco.GraphQL
Translates GraphQL queries to SQL by mapping configuration (JSON). Compatible with any ADO.NET provider.
Sentrid.Configuration
Package Description

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on NReco.Data:

Repository Stars
nreco/data
Fast DB-independent DAL for .NET Core: abstract queries, SQL commands builder, schema-less data access, POCO mapping (micro-ORM).

Version History

Version Downloads Last updated
1.2.3 1,052 7/25/2020
1.2.2 295 6/25/2020
1.2.1 309 6/12/2020
1.2.0 428 5/31/2020
1.1.1 2,923 4/12/2020
1.1.0 317 2/28/2020
1.0.6 3,621 4/16/2019
1.0.5 21,403 5/23/2018
1.0.4 5,763 10/5/2017
1.0.3 1,875 5/30/2017
1.0.2 1,849 3/24/2017
1.0.1 1,776 3/3/2017
1.0.0 709 1/31/2017
1.0.0-alpha6 1,133 9/19/2016
Show less