ORMData 10.1.4

dotnet add package ORMData --version 10.1.4
                    
NuGet\Install-Package ORMData -Version 10.1.4
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ORMData" Version="10.1.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ORMData" Version="10.1.4" />
                    
Directory.Packages.props
<PackageReference Include="ORMData" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ORMData --version 10.1.4
                    
#r "nuget: ORMData, 10.1.4"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ORMData@10.1.4
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ORMData&version=10.1.4
                    
Install as a Cake Addin
#tool nuget:?package=ORMData&version=10.1.4
                    
Install as a Cake Tool

ORMData

NuGet NuGet Downloads Build Status License: MIT

ORMData es un micro-ORM ligero y eficiente para .NET 8+, diseñado para simplificar el acceso a datos con alto rendimiento. Implementa su propio sistema de mapeo de objetos, un patrón Repository genérico y soporte nativo para múltiples proveedores de bases de datos.

🚀 Características Principales

  • Arquitectura Modular: Paquetes específicos para SQL Server, PostgreSQL, MySQL y SQLite.
  • Type-Safe: Consultas usando expresiones Lambda y LINQ.
  • Alto Rendimiento: Mapeo eficiente, Bulk Operations y caché de segundo nivel.
  • Productividad: Patrón Repository y Unit of Work integrados.
  • Flexibilidad: Soporte para Stored Procedures (SpSet) y objetos ADO.NET nativos.

📦 Instalación Rápida

dotnet add package ORMData.SqlServer

⚡ Inicio Rápido

// 1. Define tu Entidad
public class User {
    [Key]
    public Guid Id { get; set; }
    public string Email { get; set; }
}

// 2. Configura tu DbContext
public class MyDbContext : DbContext {
    public DbSet<User> Users { get; set; }
    public MyDbContext(IDbConnectionManager conn) : base(conn) { }
}

// 3. Úsalo
var user = await _repo.AddAsync(new User { Email = "hola@mundo.com" });

📚 Documentación Completa

Para dominar ORMData, consulta nuestras guías detalladas en el orden sugerido:

Fundamentos

  1. Instalación NuGet: Estructura de paquetes y dependencias.
  2. DbContext y DbSet: El corazón del acceso a datos.
  3. Mapeo por Atributos: Configura tus entidades con precisión.
  4. Configuración Avanzada: Proveedores y Options Pattern.

Operaciones de Datos

  1. Stored Procedures: Uso de SpSet y parámetros.
  2. SP Consolidado: Patrones para dominios complejos.
  3. Consultas Include: Carga de propiedades de navegación.
  4. DatabaseFacade y SQL Raw: Cuando necesitas control total.
  5. Objetos ADO.NET: DataTable, DataSet y Readers.
  6. Transacciones y Scope: Atomicidad y gestión de conexiones.
  7. Migraciones: Control de versiones de tu base de datos.

Patrones y Arquitectura

  1. Repository y Unit of Work: Abstracción avanzada.
  2. Domain Services y CQRS: Lógica de negocio escalable.
  3. Caché con Redis: Optimización extrema.
  4. Interceptores: Audita y modifica comandos al vuelo.
  5. Variables de Entorno: Configuración dinámica.

Ecosistema y Calidad

  1. Validación: Integración con FluentValidation.
  2. Controllers y DTOs: Mejores prácticas en el API.
  3. Testing: Pruebas unitarias y con SQLite In-Memory.
  4. Performance y Salud: Monitorización y Health Checks.

Reportes Técnicos


🤝 Contribuciones

Las contribuciones son bienvenidas. Si encuentras un bug o tienes una sugerencia, abre un issue o envía un pull request.

📄 Licencia

Este proyecto está bajo la Licencia MIT.

Master Tech TeamSi te resulta útil, dale una estrella en GitHub!

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on ORMData:

Package Downloads
ORMData.MySql

MySQL/MariaDB provider for ORMData ORM. Includes connection and dialect support for MySQL and MariaDB databases.

ORMData.PostgreSql

PostgreSQL provider for ORMData ORM. Includes connection and dialect support for PostgreSQL databases.

ORMData.SqlServer

SQL Server provider for ORMData ORM. Includes connection and dialect support for Microsoft SQL Server databases.

ORMData.Sqlite

SQLite provider for ORMData ORM. Includes connection and dialect support for SQLite databases.

ORMData.All

Meta-package that includes all database providers for ORMData ORM. Provides backward compatibility with previous monolithic versions. For production use, consider installing only the specific provider package you need (ORMData.SqlServer, ORMData.PostgreSql, ORMData.MySql, or ORMData.Sqlite) to reduce package size.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.1.4 130 1/29/2026
10.1.3 141 1/6/2026
10.1.2 238 12/23/2025
10.1.1 209 12/23/2025
10.1.0 210 12/19/2025
10.0.14 273 12/17/2025
10.0.13 280 12/16/2025
10.0.12 286 12/16/2025
10.0.11 268 12/16/2025
10.0.10 285 12/16/2025
10.0.9 267 12/15/2025
10.0.8 259 12/15/2025
10.0.7 255 12/15/2025
10.0.6 120 12/12/2025
10.0.5 130 12/12/2025
10.0.4 141 12/12/2025
10.0.3 694 12/2/2025
10.0.2 197 11/25/2025
10.0.1 428 11/20/2025
10.0.0 311 11/13/2025
Loading failed

v10.1.1
Arquitectura Modular de Proveedores NuGet

       - Refactorización total para desacoplamiento de proveedores de base de datos.
       - Core de ORMData ahora es ligero y libre de dependencias de drivers específicos.
       - Introducción de IProviderFactory y abstracciones para modularidad.
       - Nuevos paquetes específicos: ORMData.SqlServer, ORMData.PostgreSql, ORMData.MySql, ORMData.Sqlite.
       - Paquete meta ORMData.All para compatibilidad total con versiones anteriores.
       - Actualización a .NET 10.
       - Reducción masiva del tamaño de paquetes individuales.