Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse 9.0.0

dotnet add package Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse --version 9.0.0                
NuGet\Install-Package Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse -Version 9.0.0                
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.0" />                
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.0                
#r "nuget: Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse, 9.0.0"                
#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.0

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

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.0 12,233 11/16/2024
9.0.0-rc.1 69 10/18/2024
6.2.0 218,934 10/9/2024
6.1.1 61 10/9/2024
6.1.0 47,808 9/29/2024
6.0.24 63 9/11/2024
6.0.23 66 7/18/2024
6.0.21 61 6/18/2024
6.0.20 60 6/16/2024
6.0.19 55 6/14/2024
6.0.18 55 6/14/2024
6.0.17 56 6/14/2024
6.0.16 58 6/10/2024
6.0.15 60 6/9/2024
6.0.14 76 5/24/2024
6.0.13 68 5/23/2024
6.0.12 59 5/23/2024
6.0.11 63 5/20/2024
6.0.9 63 5/20/2024
6.0.7 61 5/18/2024
6.0.6 68 5/10/2024
6.0.5 70 5/10/2024
6.0.4 90 4/3/2024
6.0.3 86 3/25/2024
6.0.2 79 3/11/2024
6.0.0 196 11/21/2023
6.0.0-rc.6 103 10/25/2023
6.0.0-rc.5 76 10/25/2023
6.0.0-rc.4 76 10/23/2023
6.0.0-rc.3 66 10/19/2023
6.0.0-rc.2 80 10/18/2023
6.0.0-rc.1 77 10/16/2023
5.0.20 183 9/25/2023
5.0.19 165 9/10/2023
5.0.18 139 9/6/2023
5.0.17 156 9/6/2023
5.0.16 158 9/5/2023
5.0.15 152 9/5/2023
5.0.14 144 9/5/2023
5.0.13 129 9/1/2023
5.0.12 171 8/31/2023
5.0.11 156 8/30/2023
5.0.10 178 8/29/2023
5.0.9 151 8/24/2023
5.0.8 171 8/24/2023
5.0.7 149 8/23/2023
5.0.6 155 8/21/2023
5.0.5 165 8/21/2023
5.0.4 162 8/16/2023
5.0.3 180 8/2/2023
5.0.2 156 8/2/2023
5.0.1 190 8/1/2023
5.0.0 170 7/31/2023
4.1.26 201 7/20/2023
4.1.25 178 7/16/2023
4.1.24 188 6/13/2023
4.1.23 173 6/13/2023
4.1.22 176 5/30/2023
4.1.21 184 5/20/2023
4.1.20 315,285 4/19/2023
4.1.19 94,878 3/20/2023
4.1.18 240 3/20/2023
4.1.17 246 3/16/2023
4.1.16 246 3/16/2023
4.1.15 221 3/15/2023
4.1.14 813 3/9/2023
4.1.13 248 3/7/2023
4.1.12 291 2/10/2023
4.1.11 308 1/26/2023
4.1.10 308 1/22/2023
4.1.9 315 1/20/2023
4.1.8 294 1/18/2023
4.1.7 320 1/18/2023
4.1.6 308 1/17/2023
4.1.1 309 1/4/2023
4.1.0 344 1/1/2023
3.1.5 320 12/21/2022
3.1.3 337 12/12/2022
3.1.2 331 12/7/2022
3.1.1 327 12/7/2022
3.1.0 364 12/2/2022
3.0.29 361 12/1/2022
3.0.28 342 12/1/2022
3.0.27 377 11/23/2022
3.0.25 356 11/23/2022
3.0.24 368 11/18/2022
3.0.23 346 11/18/2022
3.0.22 370 11/15/2022
3.0.21 368 11/14/2022
3.0.20 382 11/13/2022
3.0.19 381 11/2/2022
3.0.18 388 11/2/2022
3.0.17 424 10/29/2022
3.0.16 416 10/29/2022
3.0.15 407 10/29/2022
3.0.14 413 10/29/2022
3.0.13 414 10/24/2022
3.0.12 419 10/17/2022
3.0.11 435 10/10/2022
3.0.10 446 10/10/2022