Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse 9.0.25

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

// Install Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse as a Cake Tool
#tool nuget:?package=Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse&version=9.0.25                

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. 
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 1 3/9/2025
9.0.21 155 3/6/2025
9.0.20 13,110 3/6/2025
9.0.19 150 3/6/2025
9.0.18 155 3/4/2025
9.0.17 45 3/1/2025
9.0.16 38 3/1/2025
9.0.15 75,411 2/22/2025
9.0.14 22,427 2/18/2025
9.0.13 63 2/9/2025
9.0.12 217,586 1/13/2025
9.0.11 23,916 1/9/2025
9.0.10 42 1/9/2025
9.0.9 3,919 1/7/2025
9.0.8 12,404 1/6/2025
9.0.7 61 1/6/2025
9.0.4 92,190 12/23/2024
9.0.3 67 12/22/2024
9.0.2 10,604 12/21/2024
9.0.1 1,102 12/21/2024
9.0.0 172,885 11/16/2024
9.0.0-rc.1 82 10/18/2024
6.2.0 218,948 10/9/2024
6.1.1 76 10/9/2024
6.1.0 47,822 9/29/2024
6.0.24 75 9/11/2024
6.0.23 80 7/18/2024
6.0.21 74 6/18/2024
6.0.20 75 6/16/2024
6.0.19 71 6/14/2024
6.0.18 69 6/14/2024
6.0.17 69 6/14/2024
6.0.16 70 6/10/2024
6.0.15 72 6/9/2024
6.0.14 87 5/24/2024
6.0.13 78 5/23/2024
6.0.12 69 5/23/2024
6.0.11 76 5/20/2024
6.0.9 77 5/20/2024
6.0.7 72 5/18/2024
6.0.6 79 5/10/2024
6.0.5 81 5/10/2024
6.0.4 101 4/3/2024
6.0.3 94 3/25/2024
6.0.2 88 3/11/2024
6.0.0 205 11/21/2023
6.0.0-rc.6 109 10/25/2023
6.0.0-rc.5 82 10/25/2023
6.0.0-rc.4 83 10/23/2023
6.0.0-rc.3 75 10/19/2023
6.0.0-rc.2 87 10/18/2023
6.0.0-rc.1 84 10/16/2023
5.0.20 193 9/25/2023
5.0.19 177 9/10/2023
5.0.18 148 9/6/2023
5.0.17 165 9/6/2023
5.0.16 169 9/5/2023
5.0.15 162 9/5/2023
5.0.14 154 9/5/2023
5.0.13 139 9/1/2023
5.0.12 181 8/31/2023
5.0.11 166 8/30/2023
5.0.10 187 8/29/2023
5.0.9 160 8/24/2023
5.0.8 182 8/24/2023
5.0.7 158 8/23/2023
5.0.6 164 8/21/2023
5.0.5 174 8/21/2023
5.0.4 171 8/16/2023
5.0.3 189 8/2/2023
5.0.2 166 8/2/2023
5.0.1 199 8/1/2023
5.0.0 179 7/31/2023
4.1.26 210 7/20/2023
4.1.25 187 7/16/2023
4.1.24 201 6/13/2023
4.1.23 186 6/13/2023
4.1.22 188 5/30/2023
4.1.21 197 5/20/2023
4.1.20 315,298 4/19/2023
4.1.19 94,891 3/20/2023
4.1.18 253 3/20/2023
4.1.17 261 3/16/2023
4.1.16 261 3/16/2023
4.1.15 246 3/15/2023
4.1.14 826 3/9/2023
4.1.13 262 3/7/2023
4.1.12 305 2/10/2023
4.1.11 322 1/26/2023
4.1.10 322 1/22/2023
4.1.9 329 1/20/2023
4.1.8 308 1/18/2023
4.1.7 334 1/18/2023
4.1.6 322 1/17/2023
4.1.1 324 1/4/2023
4.1.0 359 1/1/2023
3.1.5 335 12/21/2022
3.1.3 352 12/12/2022
3.1.2 348 12/7/2022
3.1.1 342 12/7/2022
3.1.0 381 12/2/2022
3.0.29 378 12/1/2022
3.0.28 360 12/1/2022
3.0.27 394 11/23/2022
3.0.25 373 11/23/2022
3.0.24 385 11/18/2022
3.0.23 365 11/18/2022
3.0.22 390 11/15/2022
3.0.21 385 11/14/2022
3.0.20 399 11/13/2022
3.0.19 398 11/2/2022
3.0.18 405 11/2/2022
3.0.17 441 10/29/2022
3.0.16 433 10/29/2022
3.0.15 424 10/29/2022
3.0.14 430 10/29/2022
3.0.13 430 10/24/2022
3.0.12 436 10/17/2022
3.0.11 452 10/10/2022
3.0.10 462 10/10/2022