Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse 4.1.23

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 4.1.23                
NuGet\Install-Package Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse -Version 4.1.23                
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="4.1.23" />                
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 4.1.23                
#r "nuget: Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse, 4.1.23"                
#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=4.1.23

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

What is Rystem?

Integration with Dataverse (Dynamics) and Repository Framework

Example from unit test with a business integration too.

 services
    .AddRepository<CalamityUniverseUser, string>(settings =>
    {
        settings.WithDataverse(x =>
        {
            x.Prefix = "repo_";
            x.SolutionName = "TestAlessandro";
            if (configuration != null)
                x.SetConnection(configuration["ConnectionString:Dataverse:Environment"],
                    new(configuration["ConnectionString:Dataverse:ClientId"],
                    configuration["ConnectionString:Dataverse:ClientSecret"]));
        });
        settings
            .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.UseApiForRepositoryFramework()
    .WithNoAuthorization();
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.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.0 67,106 11/16/2024
9.0.0-rc.1 72 10/18/2024
6.2.0 218,938 10/9/2024
6.1.1 66 10/9/2024
6.1.0 47,812 9/29/2024
6.0.24 68 9/11/2024
6.0.23 71 7/18/2024
6.0.21 66 6/18/2024
6.0.20 65 6/16/2024
6.0.19 60 6/14/2024
6.0.18 60 6/14/2024
6.0.17 61 6/14/2024
6.0.16 62 6/10/2024
6.0.15 64 6/9/2024
6.0.14 81 5/24/2024
6.0.13 72 5/23/2024
6.0.12 63 5/23/2024
6.0.11 68 5/20/2024
6.0.9 67 5/20/2024
6.0.7 66 5/18/2024
6.0.6 73 5/10/2024
6.0.5 75 5/10/2024
6.0.4 95 4/3/2024
6.0.3 90 3/25/2024
6.0.2 84 3/11/2024
6.0.0 201 11/21/2023
6.0.0-rc.6 105 10/25/2023
6.0.0-rc.5 78 10/25/2023
6.0.0-rc.4 79 10/23/2023
6.0.0-rc.3 69 10/19/2023
6.0.0-rc.2 83 10/18/2023
6.0.0-rc.1 80 10/16/2023
5.0.20 188 9/25/2023
5.0.19 170 9/10/2023
5.0.18 143 9/6/2023
5.0.17 160 9/6/2023
5.0.16 163 9/5/2023
5.0.15 157 9/5/2023
5.0.14 149 9/5/2023
5.0.13 134 9/1/2023
5.0.12 176 8/31/2023
5.0.11 161 8/30/2023
5.0.10 183 8/29/2023
5.0.9 156 8/24/2023
5.0.8 178 8/24/2023
5.0.7 154 8/23/2023
5.0.6 160 8/21/2023
5.0.5 170 8/21/2023
5.0.4 167 8/16/2023
5.0.3 185 8/2/2023
5.0.2 161 8/2/2023
5.0.1 195 8/1/2023
5.0.0 175 7/31/2023
4.1.26 206 7/20/2023
4.1.25 183 7/16/2023
4.1.24 193 6/13/2023
4.1.23 178 6/13/2023
4.1.22 181 5/30/2023
4.1.21 190 5/20/2023
4.1.20 315,290 4/19/2023
4.1.19 94,883 3/20/2023
4.1.18 245 3/20/2023
4.1.17 251 3/16/2023
4.1.16 251 3/16/2023
4.1.15 226 3/15/2023
4.1.14 818 3/9/2023
4.1.13 254 3/7/2023
4.1.12 296 2/10/2023
4.1.11 313 1/26/2023
4.1.10 313 1/22/2023
4.1.9 320 1/20/2023
4.1.8 299 1/18/2023
4.1.7 325 1/18/2023
4.1.6 313 1/17/2023
4.1.1 314 1/4/2023
4.1.0 349 1/1/2023
3.1.5 325 12/21/2022
3.1.3 342 12/12/2022
3.1.2 338 12/7/2022
3.1.1 332 12/7/2022
3.1.0 369 12/2/2022
3.0.29 366 12/1/2022
3.0.28 348 12/1/2022
3.0.27 382 11/23/2022
3.0.25 361 11/23/2022
3.0.24 373 11/18/2022
3.0.23 351 11/18/2022
3.0.22 375 11/15/2022
3.0.21 373 11/14/2022
3.0.20 387 11/13/2022
3.0.19 386 11/2/2022
3.0.18 393 11/2/2022
3.0.17 429 10/29/2022
3.0.16 421 10/29/2022
3.0.15 412 10/29/2022
3.0.14 418 10/29/2022
3.0.13 419 10/24/2022
3.0.12 424 10/17/2022
3.0.11 440 10/10/2022
3.0.10 451 10/10/2022