Rystem.RepositoryFramework.MigrationTools 9.0.16

There is a newer version of this package available.
See the version list below for details.
dotnet add package Rystem.RepositoryFramework.MigrationTools --version 9.0.16
                    
NuGet\Install-Package Rystem.RepositoryFramework.MigrationTools -Version 9.0.16
                    
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.MigrationTools" Version="9.0.16" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rystem.RepositoryFramework.MigrationTools" Version="9.0.16" />
                    
Directory.Packages.props
<PackageReference Include="Rystem.RepositoryFramework.MigrationTools" />
                    
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.MigrationTools --version 9.0.16
                    
#r "nuget: Rystem.RepositoryFramework.MigrationTools, 9.0.16"
                    
#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.MigrationTools@9.0.16
                    
#: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.MigrationTools&version=9.0.16
                    
Install as a Cake Addin
#tool nuget:?package=Rystem.RepositoryFramework.MigrationTools&version=9.0.16
                    
Install as a Cake Tool

What is Rystem?

Migration Tools

You need to create a base model as a bridge for your migration. After that you can use the two repositories with repository pattern to help yourself with the migration from a old storage to a brand new storage.

Sample with in memory integration (From UnitTest)

For instance you can create two repositories, one as source and one as target. In the example we use an easy test integration with two in memory integrations.

.AddRepository<SuperMigrationUser, string>(builder =>
{
    builder.WithInMemory(builder =>
    {
        builder
            .PopulateWithRandomData(NumberOfItems);
    }, "source");
})
.AddRepository<SuperMigrationUser, string>(builder =>
{
    builder.WithInMemory(builder =>
    {
        builder
            .PopulateWithRandomData(NumberOfItems);
    }, "target");
})
    .AddMigrationManager<SuperMigrationUser, string>(settings =>
    {
        settings.SourceFactoryName = "source";
        settings.DestinationFactoryName = "target";
        settings.NumberOfConcurrentInserts = 10;
    })

Now you may use the interface in DI

IMigrationManager<SuperMigrationUser, string> migrationService

and let the sorcery happens

var migrationResult = await _migrationService.MigrateAsync(x => x.Id!, true);

Parameters

Name Description
Expression<Func<T, TKey>> navigationKey Explain how to create the TKey from the TValue
bool checkIfExists = false check existence on target before download from source
bool deleteEverythingBeforeStart = false delete all items before starting the migration from target
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,622 5/29/2025
9.1.1 97,729 5/2/2025
9.0.32 186,622 4/15/2025
9.0.31 5,690 4/2/2025
9.0.30 88,729 3/26/2025
9.0.29 8,925 3/18/2025
9.0.28 162 3/17/2025
9.0.27 164 3/16/2025
9.0.26 158 3/13/2025
9.0.25 52,020 3/9/2025
9.0.21 226 3/6/2025
9.0.20 19,486 3/6/2025
9.0.19 219 3/6/2025
9.0.18 228 3/4/2025
9.0.17 107 3/1/2025
9.0.16 117 3/1/2025
9.0.15 75,493 2/22/2025
9.0.14 22,490 2/18/2025
9.0.13 129 2/9/2025
9.0.12 217,733 1/13/2025
9.0.11 23,982 1/9/2025
9.0.10 96 1/9/2025
9.0.9 3,976 1/7/2025
9.0.8 12,465 1/6/2025
9.0.7 113 1/6/2025
9.0.4 92,241 12/23/2024
9.0.3 122 12/22/2024
9.0.2 10,670 12/21/2024
9.0.1 1,161 12/21/2024
9.0.0 172,939 11/16/2024
9.0.0-rc.1 97 10/18/2024
6.2.0 219,011 10/9/2024
6.1.1 129 10/9/2024
6.1.0 47,886 9/29/2024
6.0.24 146 9/11/2024
6.0.23 140 7/18/2024
6.0.21 149 6/18/2024
6.0.20 137 6/16/2024
6.0.19 139 6/14/2024
6.0.18 127 6/14/2024
6.0.17 131 6/14/2024
6.0.16 130 6/10/2024
6.0.15 134 6/9/2024
6.0.14 132 5/24/2024
6.0.13 124 5/23/2024
6.0.12 110 5/23/2024
6.0.11 141 5/20/2024
6.0.9 141 5/20/2024
6.0.7 139 5/18/2024
6.0.6 127 5/10/2024
6.0.5 125 5/10/2024
6.0.4 172 4/3/2024
6.0.3 190 3/25/2024
6.0.2 206 3/11/2024
6.0.0 437 11/21/2023
6.0.0-rc.6 118 10/25/2023
6.0.0-rc.5 96 10/25/2023
6.0.0-rc.4 89 10/23/2023
6.0.0-rc.3 84 10/19/2023
6.0.0-rc.2 91 10/18/2023
6.0.0-rc.1 87 10/16/2023
5.0.20 421 9/25/2023
5.0.19 428 9/10/2023
5.0.18 432 9/6/2023
5.0.17 419 9/6/2023
5.0.16 426 9/5/2023
5.0.15 435 9/5/2023
5.0.14 376 9/5/2023
5.0.13 430 9/1/2023
5.0.12 414 8/31/2023
5.0.11 371 8/30/2023
5.0.10 429 8/29/2023
5.0.9 454 8/24/2023
5.0.8 457 8/24/2023
5.0.7 444 8/23/2023
5.0.6 460 8/21/2023
5.0.5 458 8/21/2023
5.0.4 463 8/16/2023
5.0.3 543 8/2/2023
5.0.2 577 8/2/2023
5.0.1 553 8/1/2023
5.0.0 530 7/31/2023
4.1.26 557 7/20/2023
4.1.25 534 7/16/2023
4.1.24 543 6/13/2023
4.1.23 481 6/13/2023
4.1.22 537 5/30/2023
4.1.21 545 5/20/2023
4.1.20 315,577 4/19/2023
4.1.19 95,224 3/20/2023
4.1.18 616 3/20/2023
4.1.17 619 3/16/2023
4.1.16 623 3/16/2023
4.1.15 597 3/15/2023
4.1.14 1,148 3/9/2023
4.1.13 606 3/7/2023
4.1.12 631 2/10/2023
4.1.11 675 1/26/2023
4.1.10 700 1/22/2023
4.1.9 714 1/20/2023
4.1.8 721 1/18/2023
4.1.7 673 1/18/2023
4.1.6 720 1/17/2023
4.1.1 666 1/4/2023
4.1.0 709 1/1/2023
3.1.5 717 12/21/2022
3.1.3 689 12/12/2022
3.1.2 701 12/7/2022
3.1.1 699 12/7/2022
3.1.0 731 12/2/2022
3.0.29 751 12/1/2022
3.0.28 733 12/1/2022
3.0.27 749 11/23/2022
3.0.25 760 11/23/2022
3.0.24 732 11/18/2022
3.0.23 742 11/18/2022
3.0.22 749 11/15/2022
3.0.21 747 11/14/2022
3.0.20 786 11/13/2022
3.0.19 749 11/2/2022
3.0.18 772 11/2/2022
3.0.17 791 10/29/2022
3.0.16 807 10/29/2022
3.0.15 744 10/29/2022
3.0.14 782 10/24/2022
3.0.13 751 10/24/2022
3.0.12 812 10/17/2022
3.0.11 826 10/10/2022
3.0.10 816 10/6/2022
3.0.9 804 10/6/2022
3.0.8 811 10/6/2022
3.0.7 805 10/6/2022
3.0.6 814 10/5/2022
3.0.5 823 10/5/2022
3.0.4 813 10/5/2022
3.0.3 802 10/3/2022
3.0.2 798 9/30/2022
3.0.1 829 9/29/2022
2.0.17 841 9/29/2022
2.0.16 822 9/27/2022
2.0.15 851 9/27/2022
2.0.14 840 9/26/2022
2.0.13 834 9/26/2022
2.0.12 863 9/26/2022
2.0.11 870 9/25/2022
2.0.10 848 9/25/2022
2.0.9 871 9/22/2022
2.0.8 830 9/22/2022
2.0.6 831 9/20/2022
2.0.5 831 9/20/2022
2.0.4 822 9/20/2022
2.0.2 842 9/20/2022
2.0.1 923 9/13/2022
2.0.0 856 8/19/2022
1.1.24 886 7/30/2022
1.1.23 860 7/29/2022
1.1.22 858 7/29/2022
1.1.21 868 7/29/2022
1.1.20 831 7/29/2022
1.1.19 847 7/27/2022
1.1.17 885 7/27/2022
1.1.16 870 7/26/2022
1.1.15 856 7/25/2022
1.1.14 852 7/25/2022
1.1.13 888 7/22/2022
1.1.12 866 7/19/2022
1.1.11 863 7/19/2022
1.1.10 854 7/19/2022
1.1.9 870 7/19/2022
1.1.8 893 7/18/2022
1.1.7 845 7/18/2022
1.1.6 871 7/18/2022
1.1.5 909 7/17/2022
1.1.4 886 7/17/2022
1.1.3 959 7/17/2022
1.1.2 854 7/17/2022
1.1.0 883 7/17/2022
1.0.2 869 7/15/2022
1.0.1 892 7/15/2022
1.0.0 880 7/8/2022
0.10.7 886 7/7/2022
0.10.2 883 7/2/2022
0.10.1 896 7/1/2022
0.10.0 839 7/1/2022
0.9.10 870 6/20/2022
0.9.9 845 6/11/2022
0.9.7 865 6/9/2022
0.9.6 885 6/5/2022
0.9.5 857 6/3/2022
0.9.4 845 6/3/2022
0.9.3 842 6/3/2022