Rystem.RepositoryFramework.Infrastructure.MsSql 4.1.10

There is a newer version of this package available.
See the version list below for details.
dotnet add package Rystem.RepositoryFramework.Infrastructure.MsSql --version 4.1.10                
NuGet\Install-Package Rystem.RepositoryFramework.Infrastructure.MsSql -Version 4.1.10                
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="4.1.10" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rystem.RepositoryFramework.Infrastructure.MsSql --version 4.1.10                
#r "nuget: Rystem.RepositoryFramework.Infrastructure.MsSql, 4.1.10"                
#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=4.1.10

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

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(x =>
        {
            x.Schema = "repo";
            x.ConnectionString = configuration["ConnectionString:Database"];
        })
            .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.UseApiForRepositoryFramework()
    .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
9.0.0 54,042 11/16/2024
9.0.0-rc.1 73 10/18/2024
6.2.0 218,981 10/9/2024
6.1.1 94 10/9/2024
6.1.0 47,851 9/29/2024
6.0.24 100 9/11/2024
6.0.23 121 7/18/2024
6.0.21 117 6/18/2024
6.0.20 112 6/16/2024
6.0.19 116 6/14/2024
6.0.18 110 6/14/2024
6.0.17 105 6/14/2024
6.0.16 98 6/10/2024
6.0.15 105 6/9/2024
6.0.14 130 5/24/2024
6.0.13 117 5/23/2024
6.0.12 109 5/23/2024
6.0.11 122 5/20/2024
6.0.9 122 5/20/2024
6.0.7 110 5/18/2024
6.0.6 113 5/10/2024
6.0.5 92 5/10/2024
6.0.4 131 4/3/2024
6.0.3 111 3/25/2024
6.0.2 130 3/11/2024
6.0.0 193 11/21/2023
6.0.0-rc.6 105 10/25/2023
6.0.0-rc.5 79 10/25/2023
6.0.0-rc.4 71 10/23/2023
6.0.0-rc.3 68 10/19/2023
6.0.0-rc.2 70 10/18/2023
6.0.0-rc.1 76 10/16/2023
5.0.20 164 9/25/2023
5.0.19 139 9/10/2023
5.0.18 132 9/6/2023
5.0.17 119 9/6/2023
5.0.16 133 9/5/2023
5.0.15 126 9/5/2023
5.0.14 135 9/5/2023
5.0.13 120 9/1/2023
5.0.12 134 8/31/2023
5.0.11 117 8/30/2023
5.0.10 145 8/29/2023
5.0.9 121 8/24/2023
5.0.8 140 8/24/2023
5.0.7 137 8/23/2023
5.0.6 132 8/21/2023
5.0.5 144 8/21/2023
5.0.4 133 8/16/2023
5.0.3 142 8/2/2023
5.0.2 158 8/2/2023
5.0.1 150 8/1/2023
5.0.0 152 7/31/2023
4.1.26 175 7/20/2023
4.1.25 149 7/16/2023
4.1.24 151 6/13/2023
4.1.23 145 6/13/2023
4.1.22 148 5/30/2023
4.1.21 156 5/20/2023
4.1.20 315,222 4/19/2023
4.1.19 94,875 3/20/2023
4.1.18 218 3/20/2023
4.1.17 217 3/16/2023
4.1.16 219 3/16/2023
4.1.15 218 3/15/2023
4.1.14 779 3/9/2023
4.1.13 214 3/7/2023
4.1.12 276 2/10/2023
4.1.11 294 1/26/2023
4.1.10 293 1/22/2023
4.1.9 290 1/20/2023
4.1.8 303 1/18/2023
4.1.7 292 1/18/2023
4.1.6 290 1/17/2023
4.1.1 308 1/4/2023
4.1.0 316 1/1/2023
3.1.5 308 12/21/2022
3.1.3 302 12/12/2022
3.1.2 289 12/7/2022
3.1.1 298 12/7/2022
3.1.0 345 12/2/2022
3.0.29 330 12/1/2022
3.0.28 322 12/1/2022
3.0.27 344 11/23/2022
3.0.25 333 11/23/2022
3.0.24 349 11/18/2022
3.0.23 346 11/18/2022
3.0.22 347 11/15/2022
3.0.21 340 11/14/2022
3.0.20 364 11/13/2022
3.0.19 363 11/2/2022
3.0.18 362 11/2/2022
3.0.17 389 10/29/2022
3.0.16 386 10/29/2022
3.0.15 389 10/29/2022
3.0.14 387 10/29/2022
3.0.13 393 10/24/2022
3.0.12 396 10/17/2022
3.0.11 422 10/13/2022