ADO.NET Micro-ORM to SQL Server, implemented as .NET Standard 2.1 (since version 3.5.x) or a .Net Core 6.0 library (since version 3.0.0). Use version 2.x.x, which was built with Net Standard 2.0, if you want to utilise this library with the .Net Framework or a previous version of .NET Core. This library is designed to use stored procedures, table-valued parameters and structured static mappers, with the goal of reading and saving of complex object graphs at once in the fast, convinient and efficient way. Read more: https://www.codeproject.com/articles/1155836/artisan-orm-or-how-to-reinvent-the-wheel
$ dotnet add package Artisan.ORM
Artisan.ORMADO.NET Micro-ORM to SQL Server, implemented as .NET Standard 2.1 (since version 3.5.x) or a .Net Core 6.0 library (since version 3.0.0). Use version 2.x.x, which was built with Net Standard 2.0, if you want to utilise this library with the .Net Framework or a previous version of .NET Core.
First there was a desire to save a graph of objects for one access to the database:
Thus the method of How to Save Object Graph in Master-Detail Relationship with One Stored Procedure was found.
Then there was a desire of more control over Object-Relational Mapping, better performance and ADO.NET code reduction.
Thus a set of extensions to ADO.NET methods turned into a separate project. Here is a story about Artisan.ORM or How To Reinvent the Wheel!
Finally the object graph saving method required a new approach to transmitting of more details about exceptional cases. Artisan Way of Data Reply became such an answer.
Full information about Artisan.ORM is available in documentation Wiki.
The most interesting articles from Wiki are:
Artisan.ORM was created to meet the following requirements:
To achieve these goals Artisan.ORM uses:
SqlDataReader as the fastest method of data reading;Artisan.ORM is available as NuGet Package.
More examples of the Artisan.ORM usage are available in the Tests and Database projects.