AmpScm.RepoDb.SqlServer 1.14.0-dev-20250328

This is a prerelease version of AmpScm.RepoDb.SqlServer.
There is a newer version of this package available.
See the version list below for details.
dotnet add package AmpScm.RepoDb.SqlServer --version 1.14.0-dev-20250328
                    
NuGet\Install-Package AmpScm.RepoDb.SqlServer -Version 1.14.0-dev-20250328
                    
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.14.0-dev-20250328" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AmpScm.RepoDb.SqlServer" Version="1.14.0-dev-20250328" />
                    
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.14.0-dev-20250328
                    
#r "nuget: AmpScm.RepoDb.SqlServer, 1.14.0-dev-20250328"
                    
#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.
#addin nuget:?package=AmpScm.RepoDb.SqlServer&version=1.14.0-dev-20250328&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=AmpScm.RepoDb.SqlServer&version=1.14.0-dev-20250328&prerelease
                    
Install as a Cake Tool

SqlServerBuild SqlServerHome SqlServerVersion SqlServerReleases SqlServerUnitTests SqlServerIntegrationTests

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

  • GitHub Home Page - to learn more about the core library.
  • Website - docs, features, classes, references, releases and blogs.

Community Engagements

Dependencies

License

Apache-2.0 - Copyright © 2020 - Michael Camara Pendon


Installation

At the Package Manager Console, write the command below.

> Install-Package RepoDb.SqlServer

Or, visit our installation page for more information.

Get Started

First, the bootstrapper must be initialized.

RepoDb.SqlServerBootstrap.Initialize();

Note: The call must be done once.

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

Or, visit the official get-started page for SQL Server.

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 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 was computed.  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 Framework net48 is compatible.  net481 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.14.2507.2257 9 7/2/2025
1.14.2506.30251 15 6/30/2025
1.14.2506.18235 144 6/18/2025
1.14.2506.18231 140 6/18/2025
1.14.2506.10222 284 6/12/2025
1.14.2506.4209 148 6/4/2025
1.14.2505.23170 96 5/23/2025
1.14.2505.15147 490 5/15/2025
1.14.2505.7144 155 5/7/2025
1.14.2505.601 143 5/6/2025
1.14.2505.101 101 5/2/2025
1.14.2504.401 579 4/9/2025
1.14.0-dev-20250328 231 3/28/2025
1.14.0-dev-20250324 614 3/24/2025
1.14.0-dev-20250320 200 3/20/2025
1.14.0-dev-20250318 185 3/18/2025
1.14.0-dev-20250306.1 402 3/6/2025
1.14.0-dev-20250306 259 3/6/2025
1.14.0-dev-20250303 148 3/3/2025
1.14.0-dev-20250227 99 2/27/2025
1.14.0-dev-20250224 335 2/24/2025
1.14.0-dev-20250221 162 2/21/2025
1.14.0-dev-20250220 105 2/20/2025
1.14.0-dev-20250219 158 2/19/2025
1.14.0-dev-20250214.1 169 2/14/2025
1.14.0-dev-20250214 95 2/14/2025
1.14.0-dev-20250213 182 2/13/2025
1.14.0-dev-20250212 155 2/12/2025
1.14.0-dev-20250211 115 2/12/2025
1.14.0-dev-20250210 131 2/11/2025
1.14.0-alphaSD02 100 11/22/2024
1.14.0-alphaSD01 84 11/22/2024
1.4.0-dev-20250211 123 2/11/2025