Rystem.RepositoryFramework.Infrastructure.MsSql 5.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Rystem.RepositoryFramework.Infrastructure.MsSql --version 5.0.2
                    
NuGet\Install-Package Rystem.RepositoryFramework.Infrastructure.MsSql -Version 5.0.2
                    
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="5.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rystem.RepositoryFramework.Infrastructure.MsSql" Version="5.0.2" />
                    
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 5.0.2
                    
#r "nuget: Rystem.RepositoryFramework.Infrastructure.MsSql, 5.0.2"
                    
#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@5.0.2
                    
#: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=5.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Rystem.RepositoryFramework.Infrastructure.MsSql&version=5.0.2
                    
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 net7.0 is compatible.  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. 
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.1 293 11/12/2025
9.1.3 195 9/2/2025
9.1.2 764,378 5/29/2025
9.1.1 97,769 5/2/2025
9.0.32 186,649 4/15/2025
9.0.31 5,737 4/2/2025
9.0.30 88,766 3/26/2025
9.0.29 8,976 3/18/2025
9.0.28 218 3/17/2025
9.0.27 208 3/16/2025
9.0.26 209 3/13/2025
9.0.25 52,070 3/9/2025
9.0.21 270 3/6/2025
9.0.20 19,517 3/6/2025
9.0.19 262 3/6/2025
9.0.18 284 3/4/2025
9.0.17 163 3/1/2025
9.0.16 163 3/1/2025
9.0.15 75,518 2/22/2025
9.0.14 22,546 2/18/2025
9.0.13 182 2/9/2025
9.0.12 217,703 1/13/2025
9.0.11 24,037 1/9/2025
9.0.10 153 1/9/2025
9.0.9 4,023 1/7/2025
9.0.8 12,505 1/6/2025
9.0.7 151 1/6/2025
9.0.4 92,269 12/23/2024
9.0.3 158 12/22/2024
9.0.2 10,723 12/21/2024
9.0.1 1,213 12/21/2024
9.0.0 172,976 11/16/2024
9.0.0-rc.1 102 10/18/2024
6.2.0 219,065 10/9/2024
6.1.1 179 10/9/2024
6.1.0 47,937 9/29/2024
6.0.24 177 9/11/2024
6.0.23 199 7/18/2024
6.0.21 198 6/18/2024
6.0.20 190 6/16/2024
6.0.19 194 6/14/2024
6.0.18 191 6/14/2024
6.0.17 191 6/14/2024
6.0.16 167 6/10/2024
6.0.15 178 6/9/2024
6.0.14 200 5/24/2024
6.0.13 196 5/23/2024
6.0.12 183 5/23/2024
6.0.11 203 5/20/2024
6.0.9 202 5/20/2024
6.0.7 199 5/18/2024
6.0.6 190 5/10/2024
6.0.5 159 5/10/2024
6.0.4 195 4/3/2024
6.0.3 170 3/25/2024
6.0.2 205 3/11/2024
6.0.0 214 11/21/2023
6.0.0-rc.6 130 10/25/2023
6.0.0-rc.5 104 10/25/2023
6.0.0-rc.4 96 10/23/2023
6.0.0-rc.3 97 10/19/2023
6.0.0-rc.2 98 10/18/2023
6.0.0-rc.1 106 10/16/2023
5.0.20 207 9/25/2023
5.0.19 193 9/10/2023
5.0.18 198 9/6/2023
5.0.17 174 9/6/2023
5.0.16 200 9/5/2023
5.0.15 192 9/5/2023
5.0.14 178 9/5/2023
5.0.13 176 9/1/2023
5.0.12 189 8/31/2023
5.0.11 173 8/30/2023
5.0.10 199 8/29/2023
5.0.9 191 8/24/2023
5.0.8 197 8/24/2023
5.0.7 206 8/23/2023
5.0.6 201 8/21/2023
5.0.5 192 8/21/2023
5.0.4 192 8/16/2023
5.0.3 203 8/2/2023
5.0.2 218 8/2/2023
5.0.1 217 8/1/2023
5.0.0 224 7/31/2023
4.1.26 250 7/20/2023
4.1.25 222 7/16/2023
4.1.24 241 6/13/2023
4.1.23 216 6/13/2023
4.1.22 236 5/30/2023
4.1.21 236 5/20/2023
4.1.20 315,320 4/19/2023
4.1.19 94,971 3/20/2023
4.1.18 301 3/20/2023
4.1.17 311 3/16/2023
4.1.16 316 3/16/2023
4.1.15 316 3/15/2023
4.1.14 872 3/9/2023
4.1.13 315 3/7/2023
4.1.12 361 2/10/2023
4.1.11 385 1/26/2023
4.1.10 387 1/22/2023
4.1.9 391 1/20/2023
4.1.8 405 1/18/2023
4.1.7 392 1/18/2023
4.1.6 390 1/17/2023
4.1.1 409 1/4/2023
4.1.0 418 1/1/2023
3.1.5 406 12/21/2022
3.1.3 406 12/12/2022
3.1.2 380 12/7/2022
3.1.1 398 12/7/2022
3.1.0 430 12/2/2022
3.0.29 411 12/1/2022
3.0.28 417 12/1/2022
3.0.27 440 11/23/2022
3.0.25 435 11/23/2022
3.0.24 453 11/18/2022
3.0.23 436 11/18/2022
3.0.22 453 11/15/2022
3.0.21 442 11/14/2022
3.0.20 458 11/13/2022
3.0.19 456 11/2/2022
3.0.18 456 11/2/2022
3.0.17 497 10/29/2022
3.0.16 479 10/29/2022
3.0.15 497 10/29/2022
3.0.14 492 10/29/2022
3.0.13 500 10/24/2022
3.0.12 494 10/17/2022
3.0.11 528 10/13/2022