LINQ to DB
Dapper
Our great sponsors
LINQ to DB | Dapper | |
---|---|---|
20 | 40 | |
2,856 | 17,108 | |
0.8% | 1.0% | |
8.9 | 8.0 | |
1 day ago | 7 days ago | |
C# | C# | |
MIT License | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
LINQ to DB
- Upserting complex data models from an API into EF Core entities
-
LiteDB: A .NET embedded NoSQL database
Before checking this out, people might want to take a look through the issues and pull requests of which there are 500+ and 50+ respectively [1]. I was really optimistic about this project and it was headed in a great direction, but it's not in a production ready state, and it seems that the main guy behind it has decided to move onto other things. It's been about a year since there was any significant activity.
I just mention this because a lot of these little issues might only become more apparent after integrating the db into your project and so it can be a bit annoying. I ended up swapping to Linq2DB [1]. It's something, more or less, similar offering an ORM/LINQ type system as well as the ability to also use direct SQL if desired. But the neat thing is that it also uses a standardized API for the LINQ query language, so you can do things like swap from SQLite to PostgreSQL in one* line of code, so long as you're not using any provider specific extensions.
-
Flyweight: An ORM for SQLite
I had a positive experience with Linq2db? https://github.com/linq2db/linq2db
I mention because I had something of the opposite experience with it. It not only ended up yielding the correct queries, but I saw a significant increase in performance. And the neat thing about it, beyond ORM and linq-to-sql, is a common interface amongst providers - so you can do things like swap from SQLite to Postgres with 1 line* of code, so long as you're not using provider specific extensions.
-
.NET 6 - ORM vs Stored Procedures - Azure Functions + SQL Databases
Temporary tables are covered by linq2db. But better to show Stored Proc maybe your final query just needs several CTE which also supported by linq2db.
-
LINQ to SQL
check this out as an alternative... https://github.com/linq2db/linq2db
-
Expression trees for LINQ
My learning path was supporting linq2db, not short way. StackOverflow was original source to find something like, how to do if operator in Expression Tree, how to throw exception in Expression Tree, how to build dynamic filter, ect.
-
Dapper is it worth using now with the improvements in EF in dotnet 6?
Checkout linq2db No need for Dapper or EF with this library. I wouldn't want to miss it.
- What is the best PostgreSQL ORM tool for use in a .NET Framework 4.7 application?
-
SchemaTypist: Entity generator for Dapper and SqlKata
Why not linq2db? Faster than Dapper and has LINQ support.
-
EF Core is good for most things.
Probably you can understand why linq2db was born 15 years ago
Dapper
-
Working with Dapper/SQL-Server Framework 4.8 C#
In both samples to get all records and to get a single record works fine but there is a better way to perform the same work using NuGet package Dapper. Dapper is extremely easy to use and built with performance in mind. In the source code provided the basic operations are covered, to take things to the next level and read the information at GitHub, the following page and other code samples in the following repository.
-
Working with Dapper in C#
In this article learn how to use Dapper an open-source object-relational mapping (ORM) library for .NET and .NET Core applications. Unlike many articles out there, this one will provide source code to try everything out that is shown in an easy-to-follow way by beginning with a single table then in part two of this series will work with multiple tables.
- Interceptors (new C# metaprogramming feature) to fuel DapperAOT development
- API REST C# Entity Framework y SQL
-
Integration Testing Postgres Store
Dapper
-
REST API using C# .NET 7 with MySql
I will be using Dapper - a simple object mapper for .Net along with MySqlConnector.
-
Resources for learning minimal API using dapper in .net
Maybe the more basic approach to dapper is their documentation https://github.com/DapperLib/Dapper the readme but again most likely you not gonna understand
-
SQL Connection Question
I think EF Core & EF are the successors to LINQ to SQL that you'd wanna look into, and/or Dapper if you wanna go lower.
-
Dapper is die?
The main maintainers of Dapper no longer work at Stack, but they're active enough to comment on recent pull requests: https://github.com/DapperLib/Dapper/pull/1887.
-
Is MSSQL Server the easiest sql database to integrate with a C# .NET application?
MarieDB and dapper https://github.com/DapperLib/Dapper
What are some alternatives?
Dapper - Dapper - a simple object mapper for .Net [Moved to: https://github.com/DapperLib/Dapper]
efcore-dapper-benchmark - A project that I have created to benchmark the read/write performance of EFCore vs Dapper
Entity Framework - EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
Npgsql - Npgsql is the .NET data provider for PostgreSQL.
MongoDB Repository pattern implementation
PetaPoco - Official PetaPoco, A tiny ORM-ish thing for your POCO's
TypeORM - ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
Knex - A query builder for PostgreSQL, MySQL, CockroachDB, SQL Server, SQLite3 and Oracle, designed to be flexible, portable, and fun to use.
RepoDb - A hybrid ORM library for .NET.
Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
NHibernate - NHibernate Object Relational Mapper
pg-ulid - ULID Functions for PostgreSQL