AmpScm.RepoDb.SqlServer 1.2026.317.475

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

MSBuild-CI Version GitterChat

RepoDb.SqlServer - a hybrid .NET ORM library for SQL Server.

RepoDB is an open-source .NET ORM library that bridges the gaps of micro-ORMs and full-ORMs. It helps you simplify the switch-over of when to use the BASIC and ADVANCE operations during the development.

Important Pages

Community Engagements

Dependencies

License

Apache-2.0


Installation

At the Package Manager Console, write the command below.

> Install-Package AmpScm.RepoDb.SqlServer

See the SQL Server Guide for more information.

Get Started

First, RepoDB must be configured and SQL Server support loaded.

using RepoDb;
using Microsoft.Data.SqlClient;

GlobalConfiguration.Setup().UseSqlServer();

Note: This call must be done once during application startup.

After the bootstrap initialization, any library operation can then be called.

Query

using (var connection = new SqlConnection(ConnectionString))
{
	var customer = connection.Query<Customer>(c => c.Id == 10045);
}

Insert

var customer = new Customer
{
	FirstName = "John",
	LastName = "Doe",
	IsActive = true
};

using (var connection = new SqlConnection(ConnectionString))
{
	var id = connection.Insert<Customer>(customer);
}

Update

using (var connection = new SqlConnection(ConnectionString))
{
	var customer = connection.Query<Customer>(10045);
	customer.FirstName = "John";
	customer.LastUpdatedUtc = DateTime.UtcNow;
	var affectedRows = connection.Update<Customer>(customer);
}

Delete

using (var connection = new SqlConnection(ConnectionString))
{
	var customer = connection.Query<Customer>(10045);
	var deletedCount = connection.Delete<Customer>(customer);
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on AmpScm.RepoDb.SqlServer:

Package Downloads
AmpScm.RepoDb.SqlServer.BulkOperations

An extension library that contains the official Bulk Operations of RepoDb for SQL Server.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.2026.317.475 45 3/17/2026
1.2026.314.468 65 3/16/2026
1.2026.309.434 541 3/9/2026
1.2026.304.420 171 3/4/2026
1.2026.302.405 134 3/2/2026
1.15.2602.20384 862 2/20/2026
1.15.2512.22350 4,172 12/22/2025
1.14.2508.12328 2,654 8/12/2025
1.14.2508.4318 578 8/4/2025 1.14.2508.4318 is deprecated because it has critical bugs.
1.14.2507.18312 195 7/18/2025
1.14.2507.18302 205 7/18/2025
1.14.2507.17297 234 7/17/2025
1.14.2507.4263 175 7/4/2025
1.14.2507.2257 492 7/2/2025
1.14.2506.30251 248 6/30/2025
1.14.2506.18235 265 6/18/2025
1.14.2506.18231 257 6/18/2025
1.14.2506.10222 406 6/12/2025
1.14.2506.4209 256 6/4/2025
1.14.2505.23170 198 5/23/2025
Loading failed