Simpleverse.Repository.Db 2.1.38

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

Simpleverse.Repository

build

A lightweight repository pattern built on top of Dapper, providing generic query/list/add/update/upsert/delete operations for SQL Server, plus bulk operations, application locks, and change tracking.

Packages

  • Simpleverse.Repository – database-agnostic abstractions (IEntity, IQueryList, IAdd, IUpdate, IUpsert, IReplace, IDelete, etc.).
  • Simpleverse.Repository.Db – SQL Server / Dapper implementation of those abstractions.

Install

dotnet add package Simpleverse.Repository.Db

Quick start

using Microsoft.Data.SqlClient;
using Simpleverse.Repository.Db;
using Simpleverse.Repository.Db.Entity;
using Simpleverse.Repository.Db.SqlServer;

// 1. Configure a repository
var repository = new SqlRepository(() => new SqlConnection(connectionString));

// 2. Map a model
[Dapper.Contrib.Extensions.Table("[Identity]")]
public class Identity
{
    [Dapper.Contrib.Extensions.Key]
    public int Id { get; set; }
    public string Name { get; set; }
}

// 3. Query it – declaring a dedicated entity class isn't necessary for a quick
// start. The base Entity.Filter maps "virtual" model properties automatically,
// so the model itself can be used as the filter type.
var entity = new Entity<Identity>(repository, new Table<Identity>("I"));
var results = await entity.ListAsync(filter => filter.Name = "John");

Documentation

See docs/USAGE.md for a full walkthrough covering entity mapping, TypeMeta configuration, and common usage scenarios such as ListAsync, filtering, and CRUD operations.

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 was computed.  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 was computed.  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 Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen 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

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.38 262 8/18/2026
2.1.36 144 7/27/2026
2.1.35 426 4/1/2026
2.1.34 646 3/2/2026
2.1.33 276 2/19/2026
2.1.32 632 1/15/2026
2.1.31 560 9/3/2025
2.1.30 306 8/29/2025
2.1.28 690 7/22/2025
2.1.27 379 6/6/2025
2.1.26 301 6/5/2025
2.1.25 1,361 1/17/2025
2.1.24 453 11/25/2024
2.1.23 302 11/14/2024
2.1.22 278 10/24/2024
2.1.21 680 9/13/2024
2.1.20 269 9/11/2024
2.1.19 261 9/11/2024
2.1.18 1,253 7/12/2024
2.1.17 300 7/8/2024
Loading failed