For an object relational mapper for C#, the strongest matches are aspnet/entityframework (Entity Framework is the flagship object-relational mapper for the), dotnet/efcore (Entity Framework Core is the standard, feature-complete object-relational mapper) and linq2db/linq2db (This is a high-performance object-relational mapper for). stackexchange/dapper and dotnetnext/sqlsugar round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Curamos repositorios de código abierto en GitHub que coinciden con “best c sharp orm libraries”. Los resultados están clasificados por relevancia según tu búsqueda; usa los filtros de abajo para acotar o refina con IA.
EntityFramework is a .NET object-relational mapper that translates application objects into database tables and rows. It functions as a query engine that converts high-level expressions into optimized SQL commands for data retrieval. The project provides a mechanism for monitoring modifications to loaded objects to synchronize application state with the database. It also includes a system for synchronizing database structures with data models using versioned migration scripts. The framework supports multi-backend database integration through a plugin system, allowing a single application to
Entity Framework is the flagship object-relational mapper for the .NET ecosystem, providing comprehensive support for LINQ, asynchronous operations, and code-first migrations across multiple database backends.
Entity Framework Core is an object-relational mapper that enables developers to interact with database systems using strongly-typed code. It serves as a comprehensive data access framework, providing a unified interface for mapping application objects to relational and non-relational database schemas while managing the lifecycle of data operations through a central context. The project distinguishes itself through a provider-based architecture that decouples core data access logic from specific database engines, allowing for consistent interaction across diverse storage systems. It features a
Entity Framework Core is the standard, feature-complete object-relational mapper for the .NET ecosystem, providing native LINQ support, robust code-first migrations, and high-performance asynchronous data access.
linq2db is a type-safe object-relational mapper that translates LINQ expressions into optimized SQL queries for multiple database providers. It functions as a database mapper that links classes to tables and includes a SQL query builder and a command-line schema tool for generating data classes from existing databases. The project provides high-performance bulk data processing for inserting and loading large volumes of records via batch or binary copy methods. It also supports advanced SQL operations, including window functions, common table expressions for recursive hierarchical querying, an
This is a high-performance object-relational mapper for .NET that provides robust LINQ support, asynchronous operations, and broad database compatibility, though it focuses more on query-first workflows than traditional code-first migrations.
Dapper is a high-performance micro-ORM and SQL object mapper for .NET. It functions as an ADO.NET extension library that adds data mapping capabilities directly to database connections, allowing SQL query results to be transformed into typed objects. The project prioritizes execution speed and low memory overhead by using intermediate language generation to map database columns to object properties. It further optimizes performance through the use of concurrent caching for mapping functions and literal value injection to improve database execution plans. The library covers a broad range of d
Dapper is a high-performance micro-ORM for .NET that provides efficient object mapping and asynchronous support, though it focuses on raw SQL execution rather than providing built-in code-first migrations.
SqlSugar is an object-relational mapping library for .NET that translates C# and VB objects into database queries and tables without requiring raw SQL. It is designed as a multi-database ORM supporting SQL Server, MySQL, PostgreSQL, Oracle, MongoDB, ClickHouse, and other databases through a unified API, and it is compatible with .NET AOT compilation for native ahead-of-time deployment. The library distinguishes itself through high-speed bulk data operations that can insert or update millions of records in seconds using batch processing instead of row-by-row handling. It also provides multi-te
SqlSugar is a high-performance ORM for .NET that provides LINQ support, multi-database compatibility, and asynchronous APIs, making it a strong candidate for simplifying database interactions in C#.
NHibernate Object Relational Mapper
NHibernate is a mature, feature-rich object-relational mapper for .NET that provides comprehensive support for LINQ, code-first migrations, and complex transaction management.
FreeSql is a .NET object-relational mapper and data access layer that translates object-oriented code into SQL for multiple relational database providers. It functions as a fluent SQL query builder and database schema synchronizer, allowing developers to align database table and index structures with entity class definitions. The framework is specifically optimized for .NET Native AOT to ensure reduced memory footprints and faster startup times. It includes a database traffic manager to distribute load through read-write splitting, dynamic table sharding, and tenant-based data isolation. Bro
FreeSql is a comprehensive .NET object-relational mapper that provides LINQ support, asynchronous operations, and code-first migrations across a wide range of database providers, making it a direct fit for your requirements.
Dapper is a lightweight object-relational mapper for .NET that functions as a high-performance data access library. It operates by extending standard database connection interfaces, allowing developers to execute raw SQL queries while automating the mapping of database results to strongly-typed objects. The library distinguishes itself through its use of runtime code generation, which creates high-performance instructions to map database rows to object properties with minimal overhead. It provides flexible data retrieval options, supporting both memory-buffered loading for speed and row-by-ro
Dapper is a high-performance object-relational mapper for .NET that provides efficient object mapping and asynchronous support, though it focuses on raw SQL execution rather than the code-first migrations found in heavier ORMs.
Fast, Simple, Typed ORM for .NET
ServiceStack.OrmLite is a high-performance, lightweight ORM for .NET that provides typed database access, LINQ support, and cross-database compatibility, making it a strong choice for simplifying C# database interactions.