Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse 9.1.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse --version 9.1.1
                    
NuGet\Install-Package Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse -Version 9.1.1
                    
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.1" />
                    
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.1" />
                    
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.1
                    
#r "nuget: Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse, 9.1.1"
                    
#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.
#:package Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse@9.1.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse&version=9.1.1
                    
Install as a Cake Addin
#tool nuget:?package=Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse&version=9.1.1
                    
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 261,598 5/29/2025
9.1.1 97,705 5/2/2025
9.0.32 186,578 4/15/2025
9.0.31 5,680 4/2/2025
9.0.30 88,734 3/26/2025
9.0.29 8,906 3/18/2025
9.0.28 135 3/17/2025
9.0.27 145 3/16/2025
9.0.26 145 3/13/2025
9.0.25 51,991 3/9/2025
9.0.21 188 3/6/2025
9.0.20 19,433 3/6/2025
9.0.19 181 3/6/2025
9.0.18 189 3/4/2025
9.0.17 81 3/1/2025
9.0.16 82 3/1/2025
9.0.15 75,446 2/22/2025
9.0.14 22,456 2/18/2025
9.0.13 96 2/9/2025
9.0.12 217,621 1/13/2025
9.0.11 23,944 1/9/2025
9.0.10 70 1/9/2025
9.0.9 3,956 1/7/2025
9.0.8 12,431 1/6/2025
9.0.7 100 1/6/2025
9.0.4 92,217 12/23/2024
9.0.3 106 12/22/2024
9.0.2 10,635 12/21/2024
9.0.1 1,139 12/21/2024
9.0.0 172,911 11/16/2024
9.0.0-rc.1 93 10/18/2024
6.2.0 218,974 10/9/2024
6.1.1 103 10/9/2024
6.1.0 47,851 9/29/2024
6.0.24 111 9/11/2024
6.0.23 106 7/18/2024
6.0.21 99 6/18/2024
6.0.20 102 6/16/2024
6.0.19 93 6/14/2024
6.0.18 93 6/14/2024
6.0.17 92 6/14/2024
6.0.16 93 6/10/2024
6.0.15 95 6/9/2024
6.0.14 119 5/24/2024
6.0.13 102 5/23/2024
6.0.12 91 5/23/2024
6.0.11 100 5/20/2024
6.0.9 104 5/20/2024
6.0.7 96 5/18/2024
6.0.6 104 5/10/2024
6.0.5 107 5/10/2024
6.0.4 127 4/3/2024
6.0.3 119 3/25/2024
6.0.2 111 3/11/2024
6.0.0 215 11/21/2023
6.0.0-rc.6 126 10/25/2023
6.0.0-rc.5 97 10/25/2023
6.0.0-rc.4 108 10/23/2023
6.0.0-rc.3 95 10/19/2023
6.0.0-rc.2 105 10/18/2023
6.0.0-rc.1 106 10/16/2023
5.0.20 217 9/25/2023
5.0.19 196 9/10/2023
5.0.18 178 9/6/2023
5.0.17 187 9/6/2023
5.0.16 190 9/5/2023
5.0.15 187 9/5/2023
5.0.14 174 9/5/2023
5.0.13 169 9/1/2023
5.0.12 202 8/31/2023
5.0.11 189 8/30/2023
5.0.10 216 8/29/2023
5.0.9 184 8/24/2023
5.0.8 204 8/24/2023
5.0.7 183 8/23/2023
5.0.6 190 8/21/2023
5.0.5 203 8/21/2023
5.0.4 196 8/16/2023
5.0.3 221 8/2/2023
5.0.2 190 8/2/2023
5.0.1 225 8/1/2023
5.0.0 204 7/31/2023
4.1.26 237 7/20/2023
4.1.25 213 7/16/2023
4.1.24 230 6/13/2023
4.1.23 220 6/13/2023
4.1.22 215 5/30/2023
4.1.21 239 5/20/2023
4.1.20 315,333 4/19/2023
4.1.19 94,927 3/20/2023
4.1.18 286 3/20/2023
4.1.17 296 3/16/2023
4.1.16 289 3/16/2023
4.1.15 279 3/15/2023
4.1.14 855 3/9/2023
4.1.13 302 3/7/2023
4.1.12 333 2/10/2023
4.1.11 354 1/26/2023
4.1.10 354 1/22/2023
4.1.9 360 1/20/2023
4.1.8 344 1/18/2023
4.1.7 368 1/18/2023
4.1.6 353 1/17/2023
4.1.1 360 1/4/2023
4.1.0 391 1/1/2023
3.1.5 369 12/21/2022
3.1.3 387 12/12/2022
3.1.2 377 12/7/2022
3.1.1 370 12/7/2022
3.1.0 415 12/2/2022
3.0.29 417 12/1/2022
3.0.28 392 12/1/2022
3.0.27 429 11/23/2022
3.0.25 401 11/23/2022
3.0.24 416 11/18/2022
3.0.23 406 11/18/2022
3.0.22 427 11/15/2022
3.0.21 421 11/14/2022
3.0.20 430 11/13/2022
3.0.19 428 11/2/2022
3.0.18 434 11/2/2022
3.0.17 472 10/29/2022
3.0.16 471 10/29/2022
3.0.15 455 10/29/2022
3.0.14 462 10/29/2022
3.0.13 461 10/24/2022
3.0.12 469 10/17/2022
3.0.11 491 10/10/2022
3.0.10 494 10/10/2022