Rystem.RepositoryFramework.Infrastructure.Dynamics.Dataverse 6.0.12

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

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

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 net8.0 is compatible.  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
6.0.19 30 6/14/2024
6.0.18 32 6/14/2024
6.0.17 33 6/14/2024
6.0.16 36 6/10/2024
6.0.15 38 6/9/2024
6.0.14 54 5/24/2024
6.0.13 50 5/23/2024
6.0.12 36 5/23/2024
6.0.11 44 5/20/2024
6.0.9 47 5/20/2024
6.0.7 46 5/18/2024
6.0.6 47 5/10/2024
6.0.5 51 5/10/2024
6.0.4 70 4/3/2024
6.0.3 65 3/25/2024
6.0.2 63 3/11/2024
6.0.0 178 11/21/2023
6.0.0-rc.6 83 10/25/2023
6.0.0-rc.5 62 10/25/2023
6.0.0-rc.4 56 10/23/2023
6.0.0-rc.3 54 10/19/2023
6.0.0-rc.2 66 10/18/2023
6.0.0-rc.1 66 10/16/2023
5.0.20 156 9/25/2023
5.0.19 143 9/10/2023
5.0.18 119 9/6/2023
5.0.17 134 9/6/2023
5.0.16 136 9/5/2023
5.0.15 127 9/5/2023
5.0.14 117 9/5/2023
5.0.13 108 9/1/2023
5.0.12 143 8/31/2023
5.0.11 134 8/30/2023
5.0.10 157 8/29/2023
5.0.9 132 8/24/2023
5.0.8 145 8/24/2023
5.0.7 130 8/23/2023
5.0.6 136 8/21/2023
5.0.5 146 8/21/2023
5.0.4 143 8/16/2023
5.0.3 161 8/2/2023
5.0.2 137 8/2/2023
5.0.1 171 8/1/2023
5.0.0 150 7/31/2023
4.1.26 175 7/20/2023
4.1.25 154 7/16/2023
4.1.24 170 6/13/2023
4.1.23 149 6/13/2023
4.1.22 158 5/30/2023
4.1.21 160 5/20/2023
4.1.20 315,264 4/19/2023
4.1.19 94,854 3/20/2023
4.1.18 221 3/20/2023
4.1.17 224 3/16/2023
4.1.16 223 3/16/2023
4.1.15 215 3/15/2023
4.1.14 790 3/9/2023
4.1.13 224 3/7/2023
4.1.12 272 2/10/2023
4.1.11 284 1/26/2023
4.1.10 284 1/22/2023
4.1.9 290 1/20/2023
4.1.8 277 1/18/2023
4.1.7 294 1/18/2023
4.1.6 288 1/17/2023
4.1.1 291 1/4/2023
4.1.0 320 1/1/2023
3.1.5 302 12/21/2022
3.1.3 310 12/12/2022
3.1.2 314 12/7/2022
3.1.1 300 12/7/2022
3.1.0 340 12/2/2022
3.0.29 334 12/1/2022
3.0.28 324 12/1/2022
3.0.27 352 11/23/2022
3.0.25 331 11/23/2022
3.0.24 349 11/18/2022
3.0.23 327 11/18/2022
3.0.22 351 11/15/2022
3.0.21 349 11/14/2022
3.0.20 363 11/13/2022
3.0.19 356 11/2/2022
3.0.18 370 11/2/2022
3.0.17 397 10/29/2022
3.0.16 397 10/29/2022
3.0.15 386 10/29/2022
3.0.14 393 10/29/2022
3.0.13 394 10/24/2022
3.0.12 395 10/17/2022
3.0.11 411 10/10/2022
3.0.10 421 10/10/2022