Rystem.RepositoryFramework.Infrastructure.MsSql 9.0.16

There is a newer version of this package available.
See the version list below for details.
dotnet add package Rystem.RepositoryFramework.Infrastructure.MsSql --version 9.0.16
                    
NuGet\Install-Package Rystem.RepositoryFramework.Infrastructure.MsSql -Version 9.0.16
                    
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="9.0.16" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rystem.RepositoryFramework.Infrastructure.MsSql" Version="9.0.16" />
                    
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 9.0.16
                    
#r "nuget: Rystem.RepositoryFramework.Infrastructure.MsSql, 9.0.16"
                    
#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@9.0.16
                    
#: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=9.0.16
                    
Install as a Cake Addin
#tool nuget:?package=Rystem.RepositoryFramework.Infrastructure.MsSql&version=9.0.16
                    
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 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. 
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
9.1.2 234,219 5/29/2025
9.1.1 97,713 5/2/2025
9.0.32 186,591 4/15/2025
9.0.31 5,699 4/2/2025
9.0.30 88,707 3/26/2025
9.0.29 8,921 3/18/2025
9.0.28 161 3/17/2025
9.0.27 153 3/16/2025
9.0.26 161 3/13/2025
9.0.25 52,015 3/9/2025
9.0.21 223 3/6/2025
9.0.20 19,462 3/6/2025
9.0.19 217 3/6/2025
9.0.18 221 3/4/2025
9.0.17 107 3/1/2025
9.0.16 108 3/1/2025
9.0.15 75,461 2/22/2025
9.0.14 22,491 2/18/2025
9.0.13 121 2/9/2025
9.0.12 217,649 1/13/2025
9.0.11 23,982 1/9/2025
9.0.10 96 1/9/2025
9.0.9 3,971 1/7/2025
9.0.8 12,454 1/6/2025
9.0.7 108 1/6/2025
9.0.4 92,237 12/23/2024
9.0.3 116 12/22/2024
9.0.2 10,671 12/21/2024
9.0.1 1,161 12/21/2024
9.0.0 172,925 11/16/2024
9.0.0-rc.1 90 10/18/2024
6.2.0 219,013 10/9/2024
6.1.1 127 10/9/2024
6.1.0 47,886 9/29/2024
6.0.24 130 9/11/2024
6.0.23 150 7/18/2024
6.0.21 148 6/18/2024
6.0.20 140 6/16/2024
6.0.19 145 6/14/2024
6.0.18 137 6/14/2024
6.0.17 138 6/14/2024
6.0.16 125 6/10/2024
6.0.15 133 6/9/2024
6.0.14 155 5/24/2024
6.0.13 142 5/23/2024
6.0.12 136 5/23/2024
6.0.11 152 5/20/2024
6.0.9 150 5/20/2024
6.0.7 139 5/18/2024
6.0.6 140 5/10/2024
6.0.5 118 5/10/2024
6.0.4 154 4/3/2024
6.0.3 134 3/25/2024
6.0.2 154 3/11/2024
6.0.0 204 11/21/2023
6.0.0-rc.6 118 10/25/2023
6.0.0-rc.5 91 10/25/2023
6.0.0-rc.4 83 10/23/2023
6.0.0-rc.3 83 10/19/2023
6.0.0-rc.2 83 10/18/2023
6.0.0-rc.1 91 10/16/2023
5.0.20 181 9/25/2023
5.0.19 162 9/10/2023
5.0.18 154 9/6/2023
5.0.17 139 9/6/2023
5.0.16 155 9/5/2023
5.0.15 149 9/5/2023
5.0.14 156 9/5/2023
5.0.13 141 9/1/2023
5.0.12 154 8/31/2023
5.0.11 138 8/30/2023
5.0.10 166 8/29/2023
5.0.9 142 8/24/2023
5.0.8 160 8/24/2023
5.0.7 158 8/23/2023
5.0.6 154 8/21/2023
5.0.5 165 8/21/2023
5.0.4 155 8/16/2023
5.0.3 166 8/2/2023
5.0.2 181 8/2/2023
5.0.1 179 8/1/2023
5.0.0 175 7/31/2023
4.1.26 199 7/20/2023
4.1.25 173 7/16/2023
4.1.24 184 6/13/2023
4.1.23 179 6/13/2023
4.1.22 177 5/30/2023
4.1.21 187 5/20/2023
4.1.20 315,257 4/19/2023
4.1.19 94,907 3/20/2023
4.1.18 249 3/20/2023
4.1.17 248 3/16/2023
4.1.16 252 3/16/2023
4.1.15 250 3/15/2023
4.1.14 811 3/9/2023
4.1.13 247 3/7/2023
4.1.12 307 2/10/2023
4.1.11 330 1/26/2023
4.1.10 329 1/22/2023
4.1.9 326 1/20/2023
4.1.8 338 1/18/2023
4.1.7 328 1/18/2023
4.1.6 325 1/17/2023
4.1.1 342 1/4/2023
4.1.0 353 1/1/2023
3.1.5 341 12/21/2022
3.1.3 339 12/12/2022
3.1.2 323 12/7/2022
3.1.1 331 12/7/2022
3.1.0 380 12/2/2022
3.0.29 365 12/1/2022
3.0.28 359 12/1/2022
3.0.27 381 11/23/2022
3.0.25 369 11/23/2022
3.0.24 386 11/18/2022
3.0.23 381 11/18/2022
3.0.22 384 11/15/2022
3.0.21 375 11/14/2022
3.0.20 400 11/13/2022
3.0.19 399 11/2/2022
3.0.18 399 11/2/2022
3.0.17 425 10/29/2022
3.0.16 422 10/29/2022
3.0.15 425 10/29/2022
3.0.14 424 10/29/2022
3.0.13 431 10/24/2022
3.0.12 433 10/17/2022
3.0.11 459 10/13/2022