NReco.Data 1.1.1

Fast lightweight data access library for .NET Core (micro-ORM): simple API for CRUD operations, dynamic queries, SQL commands generation (command builder), abstract queries that have simple string representation + 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.

Install-Package NReco.Data -Version 1.1.1
dotnet add package NReco.Data --version 1.1.1
<PackageReference Include="NReco.Data" Version="1.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NReco.Data --version 1.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Source code and examples:
API reference:

v.1.1.1 changes:
- fixed issue with DbDataAdapter.Update for RecordSet when query contains parameters that are not mapped to Row columns #55

v.1.1.0 changes:
- implemented RecordSetReader.GetSchemaTable for netcore3 compatibility #53
- BREAKING CHANGE: System.ComponentModel.ListSortDirection used in netstandard20 instead of NReco.Data.ListSortDirection

v.1.0.6 changes:
- insert operation fails in case of autoincrement and transaction (issue #48) - breaking change in IDbFactory interface
- added == and != operator overloads for DBNull (issue #49)

v.1.0.5 changes:
- now 'recordoffset' is not-defined when 0 (issue #44)
- ability to specify ApplyOffset only for concrete select (issue #46)
- add support of nullable types and handling of nulls for non-nullable in DataReaderResult.Single<T> (issue #47)

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

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

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

Read more about the GitHub Usage information on our documentation.

Version History

Version Downloads Last updated
1.1.1 902 4/12/2020
1.1.0 241 2/28/2020
1.0.6 2,782 4/16/2019
1.0.5 21,195 5/23/2018
1.0.4 5,042 10/5/2017
1.0.3 1,794 5/30/2017
1.0.2 1,725 3/24/2017
1.0.1 1,696 3/3/2017
1.0.0 620 1/31/2017
1.0.0-alpha6 1,050 9/19/2016