Git Product home page Git Product logo

artisan-orm's Introduction

Artisan.Orm Logo Artisan.ORM

ADO.NET Micro-ORM to SQL Server, implemented as a .Net Core 6.0 library (since version 3.x.x). 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.

ADO.NET Micro-ORM to SQL Server.

First there was a desire to save a graph of objects for one access to the database:

  • one command on the client,
  • one request to the application server,
  • 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.

What to read for better understanding

Full information about Artisan.ORM is available in documentation Wiki.

The most interesting articles from Wiki are:

Some propositions, statements and additional information

Artisan.ORM was created to meet the following requirements:

  • interactions with database should mostly be made through stored procedures;
  • all calls to database should be encapsulated into repository methods;
  • a repository method should be able to read or save a complex object graph with one stored procedure;
  • it should work with the highest possible performance, even at the expense of the convenience and development time.

To achieve these goals Artisan.ORM uses:

Artisan.ORM is available as NuGet Package.

NuGet Logo

More examples of the Artisan.ORM usage are available in the Tests and Database projects.

artisan-orm's People

Contributors

lobodava avatar vadimlobodaav avatar dependabot[bot] avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.