Rystem.RepositoryFramework.Infrastructure.MsSql 10.0.4

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

What is Rystem?

Integration with MsSql and Repository Framework

Example from unit test with a business integration too.

 services.
    AddRepository<Cat, Guid>(settings =>
    {
        settings
        .WithMsSql(builder =>
        {
            builder.Schema = "repo";
            builder.ConnectionString = configuration["ConnectionString:Database"];
            builder.WithPrimaryKey(x => x.Id, x =>
                {
                    x.ColumnName = "Key";
                })
            .WithColumn(x => x.Paws, x =>
            {
                x.ColumnName = "Zampe";
                x.IsNullable = true;
            });
        });
    });

You found the IRepository<Cat, Guid> in DI to play with it.

Configure database after build

You have to run a method after the service collection build during startup. This method creates your tables.

var app = builder.Build();
await app.Services.WarmUpAsync();

Automated api with Rystem.RepositoryFramework.Api.Server package

With automated api, you may have the api implemented with your dataverse integration. You need only to add the AddApiFromRepositoryFramework and UseApiForRepositoryFramework

builder.Services.AddApiFromRepositoryFramework()
    .WithDescriptiveName("Repository Api")
    .WithPath(Path)
    .WithSwagger()
    .WithVersion(Version)
    .WithDocumentation()
    .WithDefaultCors("http://example.com");  

var app = builder.Build();

app.UseApiFromRepositoryFramework()
    .WithNoAuthorization();
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
10.0.4 80 2/9/2026
10.0.3 45,478 1/28/2026
10.0.1 209,071 11/12/2025
9.1.3 222 9/2/2025
9.1.2 764,403 5/29/2025
9.1.1 97,794 5/2/2025
9.0.32 186,685 4/15/2025
9.0.31 5,768 4/2/2025
9.0.30 88,787 3/26/2025
9.0.29 8,999 3/18/2025
9.0.28 251 3/17/2025
9.0.27 231 3/16/2025
9.0.26 234 3/13/2025
9.0.25 52,101 3/9/2025
9.0.21 302 3/6/2025
9.0.20 19,548 3/6/2025
9.0.19 289 3/6/2025
9.0.18 311 3/4/2025
9.0.17 191 3/1/2025
9.0.16 190 3/1/2025
Loading failed