awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
DotNetNext avatar

DotNetNext/SqlSugar

0
View on GitHub↗
5,816 stars·1,394 forks·C#·MIT·7 vueswww.donet5.com/Home/Doc↗

SqlSugar

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-tenant transaction coordination, allowing transactions to be managed atomically across multiple databases or tenants. Dynamic query building is supported through programmatic expression composition, and time-based table partitioning routes inserts and queries to the correct physical table based on date fields.

Additional capabilities include building multi-table join queries with a fluent lambda syntax, eager loading of related navigation properties, applying global query filters, paginating results, and performing upsert operations. The library abstracts database-specific SQL dialects behind a common interface, switching providers based on connection string parameters.

Features

  • Database ORMs - Maps C# and VB objects to multiple relational databases through a unified ORM interface.
  • Object Mappings - Translates C# or VB objects into relational database tables and queries, enabling data access without raw SQL.
  • Bulk Data Operations - Inserts or updates millions of records in seconds using bulk operations that bypass row-by-row processing.
  • Batch Pipelines - Provides a batch pipeline that groups records into chunks for high-speed bulk inserts and updates.
  • Eager Loading Strategies - Eagerly load nested navigation properties in a single query to retrieve related entities together.
  • Database Query Joins - Constructs multi-table join queries using a fluent lambda syntax that generates SQL automatically.
  • Eager Loading - Resolves related entity references in a single query by generating JOIN clauses from object graph metadata.
  • LINQ Expression Translators - Translates C# lambda expressions into SQL statements at runtime using an expression tree visitor.
  • Fluent Query Builders - Constructs SQL join queries through a chain of method calls that map directly to SQL clauses.
  • Filter Expression Builders - Builds filter expressions programmatically at runtime by combining multiple conditions with logical operators.
  • Bulk ORM Operations - Performs high-speed bulk inserts and updates for millions of records using batch operations.
  • Cross-Tenant Transaction Coordinators - Coordinates transactions across multiple databases or tenants, committing or rolling back all changes atomically.
  • Distributed Transaction Coordinators - Coordinates atomic transactions across multiple databases or tenants with commit or rollback.
  • .NET Database Integration - Connects .NET applications to relational databases using typed objects for data retrieval without raw SQL.
  • Multi-Database Providers - Supports SQL Server, MySQL, PostgreSQL, Oracle, MongoDB, and ClickHouse through a unified API.
  • Bulk Update Utilities - Loads or updates large volumes of records in seconds using bulk operations that bypass row-by-row processing.
  • Logical Expression Combiners - Combines multiple filter conditions into expression trees using logical operators for programmatic query building.
  • Programmatic Condition Combiners - Constructs filter expressions programmatically at runtime by combining multiple conditions with logical operators.
  • Transaction Coordinators - Coordinates transactions across multiple databases or tenants with atomic commit or rollback.
  • Distributed Transaction Coordinators - Manages distributed transactions across multiple database connections with atomic commit or rollback.
  • Database - Abstracts database-specific SQL dialects behind a common interface, switching providers via connection string.
  • Fluent Join Builders - Provides a fluent lambda syntax for building multi-table join queries without writing raw SQL.
  • Global Data Filters - Applies persistent filter conditions to all queries on a table, automatically restricting returned rows.
  • Paginated Results - Splits a query result set into pages by specifying page index and size, returning only the requested slice.
  • Upsert Operations - Inserts new rows or updates existing ones in a single operation based on whether a matching record already exists.
  • Date-Based Routers - Routes insert and query operations to the correct physical table partition based on a date field value.
  • Time-Based Partition Routers - Automatically routes inserts and queries to the correct physical table partition based on date fields.
  • AOT-Compatible ORMs - Designed for .NET AOT compilation, enabling native deployment without reflection-based startup overhead.
  • Object Relational Mappers - ORM supporting multiple relational database management systems.

Historique des stars

Graphique de l'historique des stars pour dotnetnext/sqlsugarGraphique de l'historique des stars pour dotnetnext/sqlsugar

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Questions fréquentes

Que fait dotnetnext/sqlsugar ?

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.

Quelles sont les fonctionnalités principales de dotnetnext/sqlsugar ?

Les fonctionnalités principales de dotnetnext/sqlsugar sont : Database ORMs, Object Mappings, Bulk Data Operations, Batch Pipelines, Eager Loading Strategies, Database Query Joins, Eager Loading, LINQ Expression Translators.

Quelles sont les alternatives open-source à dotnetnext/sqlsugar ?

Les alternatives open-source à dotnetnext/sqlsugar incluent : dotnetcore/freesql — FreeSql is a .NET object-relational mapper and data access layer that translates object-oriented code into SQL for… dotnet/efcore — Entity Framework Core is an object-relational mapper that enables developers to interact with database systems using… seaql/sea-orm — Sea-ORM is an asynchronous SQL object-relational mapper and database toolkit for mapping relational tables to strongly… go-pg/pg — pg is a PostgreSQL object-relational mapper (ORM) for Go that maps Go structs to database tables and provides a fluent… doctrine/orm — Doctrine ORM is a PHP object-relational mapper that connects application objects to relational database tables. It… dapperlib/dapper — Dapper is a lightweight object-relational mapper for .NET that functions as a high-performance data access library. It…

Alternatives open source à SqlSugar

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec SqlSugar.
  • dotnetcore/freesqlAvatar de dotnetcore

    dotnetcore/FreeSql

    4,388Voir sur GitHub↗

    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

    C#accessclickhousecodefirst
    Voir sur GitHub↗4,388
  • dotnet/efcoreAvatar de dotnet

    dotnet/efcore

    14,587Voir sur GitHub↗

    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

    C#aspnet-productc-sharpdatabase
    Voir sur GitHub↗14,587
  • seaql/sea-ormAvatar de SeaQL

    SeaQL/sea-orm

    9,410Voir sur GitHub↗

    Sea-ORM is an asynchronous SQL object-relational mapper and database toolkit for mapping relational tables to strongly typed objects. It provides a relational database mapper for performing CRUD operations across MySQL, PostgreSQL, and SQLite, and includes a programmatic dynamic query builder for constructing complex SQL statements. The project distinguishes itself by providing a GraphQL schema generator that transforms database entities into typed schemas with built-in pagination and filters. It also features a dedicated database migration tool for defining and applying versioned schema chan

    Rustdatabasehacktoberfestloco
    Voir sur GitHub↗9,410
  • go-pg/pgAvatar de go-pg

    go-pg/pg

    5,785Voir sur GitHub↗

    pg is a PostgreSQL object-relational mapper (ORM) for Go that maps Go structs to database tables and provides a fluent query builder for constructing SQL statements programmatically. At its core, it automatically generates CREATE TABLE statements from Go struct definitions using struct tags and naming conventions, and builds queries through method chaining with placeholder-based parameter binding to prevent SQL injection. The library distinguishes itself through relation-aware join generation that automatically constructs JOIN clauses for has-one, has-many, many-to-many, and polymorphic assoc

    Go
    Voir sur GitHub↗5,785
Voir les 30 alternatives à SqlSugar→