Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse 9.0.4

dotnet add package Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse --version 9.0.4                
NuGet\Install-Package Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse -Version 9.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.Dynamics.Dataverse" Version="9.0.4" />                
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.4                
#r "nuget: Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse, 9.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.Dynamics.Dataverse as a Cake Addin
#addin nuget:?package=Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse&version=9.0.4

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

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. 
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.4 63,008 12/23/2024
9.0.3 53 12/22/2024
9.0.2 10,592 12/21/2024
9.0.1 1,090 12/21/2024
9.0.0 172,881 11/16/2024
9.0.0-rc.1 78 10/18/2024
6.2.0 218,944 10/9/2024
6.1.1 74 10/9/2024
6.1.0 47,818 9/29/2024
6.0.24 73 9/11/2024
6.0.23 79 7/18/2024
6.0.21 71 6/18/2024
6.0.20 74 6/16/2024
6.0.19 68 6/14/2024
6.0.18 68 6/14/2024
6.0.17 66 6/14/2024
6.0.16 67 6/10/2024
6.0.15 69 6/9/2024
6.0.14 86 5/24/2024
6.0.13 77 5/23/2024
6.0.12 68 5/23/2024
6.0.11 75 5/20/2024
6.0.9 76 5/20/2024
6.0.7 71 5/18/2024
6.0.6 78 5/10/2024
6.0.5 80 5/10/2024
6.0.4 100 4/3/2024
6.0.3 93 3/25/2024
6.0.2 87 3/11/2024
6.0.0 204 11/21/2023
6.0.0-rc.6 108 10/25/2023
6.0.0-rc.5 81 10/25/2023
6.0.0-rc.4 82 10/23/2023
6.0.0-rc.3 72 10/19/2023
6.0.0-rc.2 86 10/18/2023
6.0.0-rc.1 83 10/16/2023
5.0.20 192 9/25/2023
5.0.19 174 9/10/2023
5.0.18 147 9/6/2023
5.0.17 164 9/6/2023
5.0.16 167 9/5/2023
5.0.15 161 9/5/2023
5.0.14 153 9/5/2023
5.0.13 138 9/1/2023
5.0.12 180 8/31/2023
5.0.11 165 8/30/2023
5.0.10 186 8/29/2023
5.0.9 159 8/24/2023
5.0.8 181 8/24/2023
5.0.7 157 8/23/2023
5.0.6 163 8/21/2023
5.0.5 173 8/21/2023
5.0.4 170 8/16/2023
5.0.3 188 8/2/2023
5.0.2 164 8/2/2023
5.0.1 198 8/1/2023
5.0.0 178 7/31/2023
4.1.26 209 7/20/2023
4.1.25 186 7/16/2023
4.1.24 196 6/13/2023
4.1.23 181 6/13/2023
4.1.22 184 5/30/2023
4.1.21 193 5/20/2023
4.1.20 315,293 4/19/2023
4.1.19 94,886 3/20/2023
4.1.18 248 3/20/2023
4.1.17 256 3/16/2023
4.1.16 254 3/16/2023
4.1.15 235 3/15/2023
4.1.14 821 3/9/2023
4.1.13 257 3/7/2023
4.1.12 299 2/10/2023
4.1.11 316 1/26/2023
4.1.10 316 1/22/2023
4.1.9 323 1/20/2023
4.1.8 302 1/18/2023
4.1.7 328 1/18/2023
4.1.6 316 1/17/2023
4.1.1 317 1/4/2023
4.1.0 352 1/1/2023
3.1.5 328 12/21/2022
3.1.3 345 12/12/2022
3.1.2 341 12/7/2022
3.1.1 335 12/7/2022
3.1.0 374 12/2/2022
3.0.29 371 12/1/2022
3.0.28 353 12/1/2022
3.0.27 387 11/23/2022
3.0.25 366 11/23/2022
3.0.24 378 11/18/2022
3.0.23 356 11/18/2022
3.0.22 383 11/15/2022
3.0.21 378 11/14/2022
3.0.20 392 11/13/2022
3.0.19 391 11/2/2022
3.0.18 398 11/2/2022
3.0.17 434 10/29/2022
3.0.16 426 10/29/2022
3.0.15 417 10/29/2022
3.0.14 423 10/29/2022
3.0.13 424 10/24/2022
3.0.12 429 10/17/2022
3.0.11 445 10/10/2022
3.0.10 455 10/10/2022