Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse 9.1.2

dotnet add package Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse --version 9.1.2
                    
NuGet\Install-Package Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse -Version 9.1.2
                    
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.Dynamics.Dataverse" Version="9.1.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse" Version="9.1.2" />
                    
Directory.Packages.props
<PackageReference Include="Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse" />
                    
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.Dynamics.Dataverse --version 9.1.2
                    
#r "nuget: Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse, 9.1.2"
                    
#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.
#addin nuget:?package=Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse&version=9.1.2
                    
Install as a Cake Addin
#tool nuget:?package=Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse&version=9.1.2
                    
Install as a Cake Tool

What is Rystem?

Integration with Dataverse (Dynamics) and Repository Framework

Example from unit test with a business integration too.

 services.
    AddRepository<CalamityUniverseUser, string>(builder =>
    {
        builder.WithDataverse(dataverserBuilder =>
        {
            dataverserBuilder.Settings.Prefix = "repo_";
            dataverserBuilder.Settings.SolutionName = "TestAlessandro";
            if (configuration != null)
                dataverserBuilder.Settings.SetConnection(configuration["ConnectionString:Dataverse:Environment"],
                    new(configuration["ConnectionString:Dataverse:ClientId"],
                    configuration["ConnectionString:Dataverse:ClientSecret"]));
        });
        builder
            .AddBusiness()
            .AddBusinessBeforeInsert<CalamityUniverseUserBeforeInsertBusiness>()
            .AddBusinessBeforeInsert<CalamityUniverseUserBeforeInsertBusiness2>();
    });

You found the IRepository<CalamityUniverseUser, string> 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 130,545 5/29/2025
9.1.1 97,697 5/2/2025
9.0.32 186,573 4/15/2025
9.0.31 5,675 4/2/2025
9.0.30 88,731 3/26/2025
9.0.29 8,897 3/18/2025
9.0.28 130 3/17/2025
9.0.27 136 3/16/2025
9.0.26 139 3/13/2025
9.0.25 51,980 3/9/2025
9.0.21 182 3/6/2025
9.0.20 19,426 3/6/2025
9.0.19 177 3/6/2025
9.0.18 184 3/4/2025
9.0.17 74 3/1/2025
9.0.16 71 3/1/2025
9.0.15 75,436 2/22/2025
9.0.14 22,450 2/18/2025
9.0.13 89 2/9/2025
9.0.12 217,612 1/13/2025
9.0.11 23,939 1/9/2025
9.0.10 66 1/9/2025
9.0.9 3,947 1/7/2025
9.0.8 12,428 1/6/2025
9.0.7 91 1/6/2025
9.0.4 92,211 12/23/2024
9.0.3 97 12/22/2024
9.0.2 10,627 12/21/2024
9.0.1 1,128 12/21/2024
9.0.0 172,906 11/16/2024
9.0.0-rc.1 91 10/18/2024
6.2.0 218,969 10/9/2024
6.1.1 97 10/9/2024
6.1.0 47,842 9/29/2024
6.0.24 103 9/11/2024
6.0.23 101 7/18/2024
6.0.21 93 6/18/2024
6.0.20 93 6/16/2024
6.0.19 89 6/14/2024
6.0.18 86 6/14/2024
6.0.17 88 6/14/2024
6.0.16 88 6/10/2024
6.0.15 88 6/9/2024
6.0.14 111 5/24/2024
6.0.13 97 5/23/2024
6.0.12 86 5/23/2024
6.0.11 95 5/20/2024
6.0.9 95 5/20/2024
6.0.7 90 5/18/2024
6.0.6 100 5/10/2024
6.0.5 102 5/10/2024
6.0.4 118 4/3/2024
6.0.3 114 3/25/2024
6.0.2 106 3/11/2024
6.0.0 213 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 95 10/23/2023
6.0.0-rc.3 90 10/19/2023
6.0.0-rc.2 96 10/18/2023
6.0.0-rc.1 97 10/16/2023
5.0.20 208 9/25/2023
5.0.19 191 9/10/2023
5.0.18 164 9/6/2023
5.0.17 180 9/6/2023
5.0.16 183 9/5/2023
5.0.15 176 9/5/2023
5.0.14 167 9/5/2023
5.0.13 157 9/1/2023
5.0.12 195 8/31/2023
5.0.11 182 8/30/2023
5.0.10 203 8/29/2023
5.0.9 176 8/24/2023
5.0.8 195 8/24/2023
5.0.7 175 8/23/2023
5.0.6 179 8/21/2023
5.0.5 191 8/21/2023
5.0.4 188 8/16/2023
5.0.3 207 8/2/2023
5.0.2 182 8/2/2023
5.0.1 217 8/1/2023
5.0.0 196 7/31/2023
4.1.26 229 7/20/2023
4.1.25 205 7/16/2023
4.1.24 222 6/13/2023
4.1.23 207 6/13/2023
4.1.22 207 5/30/2023
4.1.21 227 5/20/2023
4.1.20 315,319 4/19/2023
4.1.19 94,917 3/20/2023
4.1.18 273 3/20/2023
4.1.17 284 3/16/2023
4.1.16 281 3/16/2023
4.1.15 268 3/15/2023
4.1.14 847 3/9/2023
4.1.13 291 3/7/2023
4.1.12 325 2/10/2023
4.1.11 346 1/26/2023
4.1.10 346 1/22/2023
4.1.9 352 1/20/2023
4.1.8 332 1/18/2023
4.1.7 357 1/18/2023
4.1.6 345 1/17/2023
4.1.1 349 1/4/2023
4.1.0 380 1/1/2023
3.1.5 357 12/21/2022
3.1.3 377 12/12/2022
3.1.2 369 12/7/2022
3.1.1 362 12/7/2022
3.1.0 403 12/2/2022
3.0.29 404 12/1/2022
3.0.28 384 12/1/2022
3.0.27 417 11/23/2022
3.0.25 393 11/23/2022
3.0.24 407 11/18/2022
3.0.23 398 11/18/2022
3.0.22 415 11/15/2022
3.0.21 407 11/14/2022
3.0.20 421 11/13/2022
3.0.19 419 11/2/2022
3.0.18 426 11/2/2022
3.0.17 462 10/29/2022
3.0.16 456 10/29/2022
3.0.15 446 10/29/2022
3.0.14 453 10/29/2022
3.0.13 452 10/24/2022
3.0.12 458 10/17/2022
3.0.11 478 10/10/2022
3.0.10 484 10/10/2022