Rystem.RepositoryFramework.Infrastructure.MsSql 6.0.4

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

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

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 net8.0 is compatible.  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. 
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
6.0.4 97 4/3/2024
6.0.3 81 3/25/2024
6.0.2 94 3/11/2024
6.0.0 172 11/21/2023
6.0.0-rc.6 86 10/25/2023
6.0.0-rc.5 63 10/25/2023
6.0.0-rc.4 56 10/23/2023
6.0.0-rc.3 54 10/19/2023
6.0.0-rc.2 55 10/18/2023
6.0.0-rc.1 59 10/16/2023
5.0.20 128 9/25/2023
5.0.19 111 9/10/2023
5.0.18 102 9/6/2023
5.0.17 103 9/6/2023
5.0.16 105 9/5/2023
5.0.15 98 9/5/2023
5.0.14 102 9/5/2023
5.0.13 91 9/1/2023
5.0.12 104 8/31/2023
5.0.11 86 8/30/2023
5.0.10 115 8/29/2023
5.0.9 107 8/24/2023
5.0.8 113 8/24/2023
5.0.7 111 8/23/2023
5.0.6 102 8/21/2023
5.0.5 113 8/21/2023
5.0.4 107 8/16/2023
5.0.3 128 8/2/2023
5.0.2 128 8/2/2023
5.0.1 135 8/1/2023
5.0.0 123 7/31/2023
4.1.26 144 7/20/2023
4.1.25 134 7/16/2023
4.1.24 124 6/13/2023
4.1.23 118 6/13/2023
4.1.22 119 5/30/2023
4.1.21 125 5/20/2023
4.1.20 315,188 4/19/2023
4.1.19 94,842 3/20/2023
4.1.18 191 3/20/2023
4.1.17 190 3/16/2023
4.1.16 192 3/16/2023
4.1.15 188 3/15/2023
4.1.14 747 3/9/2023
4.1.13 188 3/7/2023
4.1.12 245 2/10/2023
4.1.11 263 1/26/2023
4.1.10 263 1/22/2023
4.1.9 259 1/20/2023
4.1.8 267 1/18/2023
4.1.7 261 1/18/2023
4.1.6 261 1/17/2023
4.1.1 280 1/4/2023
4.1.0 289 1/1/2023
3.1.5 276 12/21/2022
3.1.3 273 12/12/2022
3.1.2 272 12/7/2022
3.1.1 269 12/7/2022
3.1.0 312 12/2/2022
3.0.29 299 12/1/2022
3.0.28 291 12/1/2022
3.0.27 312 11/23/2022
3.0.25 303 11/23/2022
3.0.24 320 11/18/2022
3.0.23 316 11/18/2022
3.0.22 321 11/15/2022
3.0.21 313 11/14/2022
3.0.20 338 11/13/2022
3.0.19 336 11/2/2022
3.0.18 335 11/2/2022
3.0.17 359 10/29/2022
3.0.16 361 10/29/2022
3.0.15 359 10/29/2022
3.0.14 357 10/29/2022
3.0.13 367 10/24/2022
3.0.12 369 10/17/2022
3.0.11 390 10/13/2022