ORMix 2.1.1

dotnet add package ORMix --version 2.1.1
                    
NuGet\Install-Package ORMix -Version 2.1.1
                    
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="ORMix" Version="2.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ORMix" Version="2.1.1" />
                    
Directory.Packages.props
<PackageReference Include="ORMix" />
                    
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 ORMix --version 2.1.1
                    
#r "nuget: ORMix, 2.1.1"
                    
#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 ORMix@2.1.1
                    
#: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=ORMix&version=2.1.1
                    
Install as a Cake Addin
#tool nuget:?package=ORMix&version=2.1.1
                    
Install as a Cake Tool

ORMix

Yüksek performanslı JDBC tabanlı informix .NET ORM.

A high-performance .NET ORM designed for Informix with JDBC-inspired features and robust transaction and retry mechanisms.

Özellikler

  • Connection Sınıfına Uzanım Methodlar
    java.sql.Connection sınıfına özel, mapping extension methodlar.

  • SQL Sorgularında İsimli Parametreler
    SQL sorgularında örneğin :id gibi isimli parametrelere, dinamik anonim nesnelerle parametre geçebilme.

  • Transaction Yönetimi
    Transaction yöntemi için çeşitli sınıflar.

  • Tekrar Mekanizmaları
    Geçiçi bağlantı hataları(network) ve geçici kilit(lock) hataları için tekrar deneme(retry) mekanizmaları.

  • Çeşitli Yönetimsel ve Sistem İzleme Komutları
    Çeşitli yönetimsel komut ve sistem monitoring tabloları için hazır kullanım methodları.

Nuget

dotnet add package ORMix --version 1.0.0

using Ormix.ServiceCollections;
var builder = WebApplication.CreateBuilder(args);
.
.
builder.Services.AddInformixServices(new ConnectionStringConfiguration(builder.Configuration));

var app = builder.Build();
.
.
app.Run();

ConnectionStringConfiguration sınıfı

public class ConnectionStringConfiguration : IConnectionStringConfiguration
{
	private readonly IConfiguration configuration;
	public ConnectionStringConfiguration(IConfiguration configuration)
	{
		this.configuration = configuration;
	}
  
	public string GetConnectionString(IServiceProvider? serviceProvider = null)
	{
		// Provide a JDBC URL...
		return configuration.GetConnectionString("Informix")!;
	}
}

Basitçe ConnectionContext sınıfı enjekte edip kullanabilirsiniz.

 public class RepositoryPerson(Ormix.DataSources.ConnectionContext connectionContext) 
 {	 
	public Person? GetBy(Guid uuid)
	{
		return connectionContext.Connection
			.QuerySingle<Person>(
			   @"select id
					  , firstname
					  , lastname
					  , created 
				from person where id = :id",
			   new
			   {
				   id = uuid
			   });
	}	 
 }

ORMix

High-Performance JDBC-Based Informix .NET ORM

A high-performance .NET ORM designed for Informix with JDBC-inspired features and robust transaction and retry mechanisms.

Features

  • Connection Mapping
    Mapping extension methods specifically designed for the java.sql.Connection class.

  • Named Parameters in SQL Queries
    Pass parameters to SQL queries (e.g., :id) using dynamic anonymous objects.

  • Transaction Management
    Various classes for easy and flexible transaction handling.

  • Retry Mechanisms
    Automatically retries temporary connection (network) failures and temporary lock errors.

  • Administrative and Monitoring Support
    Ready-to-use methods for various administrative commands and system monitoring tables.

Nuget

dotnet add package ORMix --version 1.0.0

using Ormix.ServiceCollections;
var builder = WebApplication.CreateBuilder(args);
.
.
builder.Services.AddInformixServices(new ConnectionStringConfiguration(builder.Configuration));

var app = builder.Build();
.
.
app.Run();

ConnectionStringConfiguration class

public class ConnectionStringConfiguration : IConnectionStringConfiguration
{
	private readonly IConfiguration configuration;
	public ConnectionStringConfiguration(IConfiguration configuration)
	{
		this.configuration = configuration;
	}
  
	public string GetConnectionString(IServiceProvider? serviceProvider = null)
	{
		// Provide a JDBC URL...
		return configuration.GetConnectionString("Informix")!;
	}
}

Simply inject ConnectionContext class and use.

 public class RepositoryPerson(Ormix.DataSources.ConnectionContext connectionContext) 
 {	 
	public Person? GetBy(Guid uuid)
	{
		return connectionContext.Connection
			.QuerySingle<Person>(
			   @"select id
					  , firstname
					  , lastname
					  , created 
				from person where id = :id",
			   new
			   {
				   id = uuid
			   });
	}	 
 }
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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.1.1 109 7/31/2026
2.1.0 146 7/9/2026
2.0.0 121 6/29/2026
1.0.0 391 3/18/2026