Rystem.RepositoryFramework.Infrastructure.MsSql 5.0.15

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

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

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. 
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.16 58 6/10/2024
6.0.15 63 6/9/2024
6.0.14 84 5/24/2024
6.0.13 83 5/23/2024
6.0.12 69 5/23/2024
6.0.11 82 5/20/2024
6.0.9 88 5/20/2024
6.0.7 80 5/18/2024
6.0.6 81 5/10/2024
6.0.5 80 5/10/2024
6.0.4 106 4/3/2024
6.0.3 85 3/25/2024
6.0.2 97 3/11/2024
6.0.0 178 11/21/2023
6.0.0-rc.6 87 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 134 9/25/2023
5.0.19 114 9/10/2023
5.0.18 105 9/6/2023
5.0.17 106 9/6/2023
5.0.16 108 9/5/2023
5.0.15 101 9/5/2023
5.0.14 105 9/5/2023
5.0.13 94 9/1/2023
5.0.12 108 8/31/2023
5.0.11 89 8/30/2023
5.0.10 118 8/29/2023
5.0.9 110 8/24/2023
5.0.8 116 8/24/2023
5.0.7 114 8/23/2023
5.0.6 105 8/21/2023
5.0.5 116 8/21/2023
5.0.4 110 8/16/2023
5.0.3 131 8/2/2023
5.0.2 131 8/2/2023
5.0.1 140 8/1/2023
5.0.0 127 7/31/2023
4.1.26 148 7/20/2023
4.1.25 137 7/16/2023
4.1.24 128 6/13/2023
4.1.23 121 6/13/2023
4.1.22 123 5/30/2023
4.1.21 128 5/20/2023
4.1.20 315,194 4/19/2023
4.1.19 94,846 3/20/2023
4.1.18 194 3/20/2023
4.1.17 193 3/16/2023
4.1.16 195 3/16/2023
4.1.15 191 3/15/2023
4.1.14 752 3/9/2023
4.1.13 191 3/7/2023
4.1.12 249 2/10/2023
4.1.11 269 1/26/2023
4.1.10 268 1/22/2023
4.1.9 264 1/20/2023
4.1.8 272 1/18/2023
4.1.7 264 1/18/2023
4.1.6 264 1/17/2023
4.1.1 283 1/4/2023
4.1.0 292 1/1/2023
3.1.5 280 12/21/2022
3.1.3 276 12/12/2022
3.1.2 275 12/7/2022
3.1.1 272 12/7/2022
3.1.0 315 12/2/2022
3.0.29 303 12/1/2022
3.0.28 294 12/1/2022
3.0.27 318 11/23/2022
3.0.25 306 11/23/2022
3.0.24 323 11/18/2022
3.0.23 319 11/18/2022
3.0.22 322 11/15/2022
3.0.21 314 11/14/2022
3.0.20 339 11/13/2022
3.0.19 337 11/2/2022
3.0.18 336 11/2/2022
3.0.17 361 10/29/2022
3.0.16 362 10/29/2022
3.0.15 360 10/29/2022
3.0.14 358 10/29/2022
3.0.13 368 10/24/2022
3.0.12 372 10/17/2022
3.0.11 395 10/13/2022