Rystem.RepositoryFramework.Infrastructure.MsSql 9.0.17

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.17                
NuGet\Install-Package Rystem.RepositoryFramework.Infrastructure.MsSql -Version 9.0.17                
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.17" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rystem.RepositoryFramework.Infrastructure.MsSql --version 9.0.17                
#r "nuget: Rystem.RepositoryFramework.Infrastructure.MsSql, 9.0.17"                
#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.
// Install Rystem.RepositoryFramework.Infrastructure.MsSql as a Cake Addin
#addin nuget:?package=Rystem.RepositoryFramework.Infrastructure.MsSql&version=9.0.17

// Install Rystem.RepositoryFramework.Infrastructure.MsSql as a Cake Tool
#tool nuget:?package=Rystem.RepositoryFramework.Infrastructure.MsSql&version=9.0.17                

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. 
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.0.25 0 3/9/2025
9.0.21 159 3/6/2025
9.0.20 10,712 3/6/2025
9.0.19 151 3/6/2025
9.0.18 190 3/4/2025
9.0.17 75 3/1/2025
9.0.16 77 3/1/2025
9.0.15 75,437 2/22/2025
9.0.14 22,469 2/18/2025
9.0.13 97 2/9/2025
9.0.12 217,628 1/13/2025
9.0.11 23,958 1/9/2025
9.0.10 73 1/9/2025
9.0.9 3,942 1/7/2025
9.0.8 12,429 1/6/2025
9.0.7 84 1/6/2025
9.0.4 92,215 12/23/2024
9.0.3 91 12/22/2024
9.0.2 10,648 12/21/2024
9.0.1 1,139 12/21/2024
9.0.0 172,905 11/16/2024
9.0.0-rc.1 84 10/18/2024
6.2.0 218,994 10/9/2024
6.1.1 107 10/9/2024
6.1.0 47,865 9/29/2024
6.0.24 111 9/11/2024
6.0.23 133 7/18/2024
6.0.21 131 6/18/2024
6.0.20 123 6/16/2024
6.0.19 127 6/14/2024
6.0.18 121 6/14/2024
6.0.17 121 6/14/2024
6.0.16 108 6/10/2024
6.0.15 116 6/9/2024
6.0.14 138 5/24/2024
6.0.13 125 5/23/2024
6.0.12 119 5/23/2024
6.0.11 134 5/20/2024
6.0.9 134 5/20/2024
6.0.7 120 5/18/2024
6.0.6 121 5/10/2024
6.0.5 100 5/10/2024
6.0.4 137 4/3/2024
6.0.3 117 3/25/2024
6.0.2 136 3/11/2024
6.0.0 199 11/21/2023
6.0.0-rc.6 109 10/25/2023
6.0.0-rc.5 83 10/25/2023
6.0.0-rc.4 75 10/23/2023
6.0.0-rc.3 74 10/19/2023
6.0.0-rc.2 74 10/18/2023
6.0.0-rc.1 82 10/16/2023
5.0.20 170 9/25/2023
5.0.19 147 9/10/2023
5.0.18 138 9/6/2023
5.0.17 125 9/6/2023
5.0.16 139 9/5/2023
5.0.15 134 9/5/2023
5.0.14 141 9/5/2023
5.0.13 126 9/1/2023
5.0.12 140 8/31/2023
5.0.11 123 8/30/2023
5.0.10 151 8/29/2023
5.0.9 127 8/24/2023
5.0.8 146 8/24/2023
5.0.7 143 8/23/2023
5.0.6 138 8/21/2023
5.0.5 150 8/21/2023
5.0.4 139 8/16/2023
5.0.3 148 8/2/2023
5.0.2 164 8/2/2023
5.0.1 159 8/1/2023
5.0.0 158 7/31/2023
4.1.26 181 7/20/2023
4.1.25 155 7/16/2023
4.1.24 163 6/13/2023
4.1.23 157 6/13/2023
4.1.22 157 5/30/2023
4.1.21 165 5/20/2023
4.1.20 315,234 4/19/2023
4.1.19 94,885 3/20/2023
4.1.18 228 3/20/2023
4.1.17 227 3/16/2023
4.1.16 231 3/16/2023
4.1.15 228 3/15/2023
4.1.14 789 3/9/2023
4.1.13 224 3/7/2023
4.1.12 287 2/10/2023
4.1.11 305 1/26/2023
4.1.10 304 1/22/2023
4.1.9 301 1/20/2023
4.1.8 314 1/18/2023
4.1.7 303 1/18/2023
4.1.6 301 1/17/2023
4.1.1 320 1/4/2023
4.1.0 331 1/1/2023
3.1.5 320 12/21/2022
3.1.3 317 12/12/2022
3.1.2 301 12/7/2022
3.1.1 310 12/7/2022
3.1.0 359 12/2/2022
3.0.29 344 12/1/2022
3.0.28 336 12/1/2022
3.0.27 358 11/23/2022
3.0.25 347 11/23/2022
3.0.24 364 11/18/2022
3.0.23 360 11/18/2022
3.0.22 362 11/15/2022
3.0.21 354 11/14/2022
3.0.20 378 11/13/2022
3.0.19 377 11/2/2022
3.0.18 376 11/2/2022
3.0.17 403 10/29/2022
3.0.16 400 10/29/2022
3.0.15 403 10/29/2022
3.0.14 401 10/29/2022
3.0.13 409 10/24/2022
3.0.12 410 10/17/2022
3.0.11 436 10/13/2022