LINQ to DB
Entity Framework
Our great sponsors
LINQ to DB | Entity Framework | |
---|---|---|
20 | 87 | |
2,856 | 13,325 | |
0.8% | 1.1% | |
8.9 | 9.9 | |
2 days ago | 2 days ago | |
C# | C# | |
MIT License | MIT License |
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
Entity Framework
-
Multi-tenancy using schemas with Entity Framework and PostgreSQL
* You can check the original CreateMigration implementation at: https://github.com/dotnet/efcore/blob/release/7.0/src/EFCore.Relational/Migrations/Internal/MigrationsAssembly.cs
-
Linux or Windows for .net development?
Since .net core came out it's possible to run and write .net code in all platforms. In your experience what is the best when it comes to development experience and resources consumption? I recently moved to Linux Mint as my daily driver and felt that .net on Windows just works better, even with Rider. I struggled with an issue "Platform not supported exception" when trying to connect with the database using EF Core and NET 6.0. A lot of issues about this matter were opened on GitHub and closed without a proper resolution and the Microsoft teams seems to not give a shit about that, most workaround came from the user's who took their time to investigate the issue.
-
Show HN: Tankman – An Open Source User Management and Authorization MicroService
Thanks Dave. Looks like sequelize has TypeScript support.
On another note: one of the goals of Tankman is to compile with Native AOT once .Net 8 is out. The EF Core team is working on making it compatible - https://github.com/dotnet/efcore/issues/29754
- EF Core/NET 6 - How to execute sql server stored procedure and get the result set?
-
Deploying sqlite database to android emulator
It’s a known issue in the Xamarin / .NET MAUI world. Here’s a GitHub Issue posted 5 years ago detailing the problem: https://github.com/dotnet/efcore/issues/12087
-
Duda carrera: C#/.NET vs. Node/Express
Entity Framework: Licencia MIT.
-
Build time takes long
https://github.com/dotnet/efcore/issues/23291 seems like there was an issue but it has been resolved.
-
Newbie Entity Framework question. I get what EF does, but am unable to do anything without a tutorial.
No they aren't. I don't know why you thought that link has anything to do with window functions. Here's the ticket in the backlog. https://github.com/dotnet/efcore/issues/12747
-
I want to start contributing to open-source .Net projects, but How do I learn large codebase?
https://github.com/dotnet/efcore ,https://github.com/dotnet/aspnetcore , https://github.com/dotnet/maui - I've experience with developing android apps as well , may be I can contribute to this
-
Transforming Enumerable into Queryable with Linq: A How-To Guide on Concat, Union, and Troubleshooting EF Core 6 Errors
More Info: https://github.com/dotnet/efcore/issues/19129
What are some alternatives?
Dapper - Dapper - a simple object mapper for .Net [Moved to: https://github.com/DapperLib/Dapper]
MongoDB Repository pattern implementation
FluentMigrator - Fluent migrations framework for .NET
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.
PetaPoco - Official PetaPoco, A tiny ORM-ish thing for your POCO's
RepoDb - A hybrid ORM library for .NET.
ServiceStack.OrmLite - Fast, Simple, Typed ORM for .NET
NHibernate - NHibernate Object Relational Mapper
NPoco - Simple microORM that maps the results of a query onto a POCO object. Project based on Schotime's branch of PetaPoco