Rystem.RepositoryFramework.MigrationTools 9.1.3

dotnet add package Rystem.RepositoryFramework.MigrationTools --version 9.1.3
                    
NuGet\Install-Package Rystem.RepositoryFramework.MigrationTools -Version 9.1.3
                    
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.1.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Rystem.RepositoryFramework.MigrationTools" Version="9.1.3" />
                    
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.1.3
                    
#r "nuget: Rystem.RepositoryFramework.MigrationTools, 9.1.3"
                    
#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.1.3
                    
#: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.1.3
                    
Install as a Cake Addin
#tool nuget:?package=Rystem.RepositoryFramework.MigrationTools&version=9.1.3
                    
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.3 30 9/2/2025
9.1.2 439,440 5/29/2025
9.1.1 97,737 5/2/2025
9.0.32 186,629 4/15/2025
9.0.31 5,698 4/2/2025
9.0.30 88,736 3/26/2025
9.0.29 8,933 3/18/2025
9.0.28 171 3/17/2025
9.0.27 171 3/16/2025
9.0.26 166 3/13/2025
9.0.25 52,029 3/9/2025
9.0.21 234 3/6/2025
9.0.20 19,495 3/6/2025
9.0.19 228 3/6/2025
9.0.18 236 3/4/2025
9.0.17 114 3/1/2025
9.0.16 124 3/1/2025
9.0.15 75,500 2/22/2025
9.0.14 22,498 2/18/2025
9.0.13 137 2/9/2025
9.0.12 217,741 1/13/2025
9.0.11 23,990 1/9/2025
9.0.10 103 1/9/2025
9.0.9 3,985 1/7/2025
9.0.8 12,472 1/6/2025
9.0.7 120 1/6/2025
9.0.4 92,248 12/23/2024
9.0.3 131 12/22/2024
9.0.2 10,678 12/21/2024
9.0.1 1,169 12/21/2024
9.0.0 172,947 11/16/2024
9.0.0-rc.1 103 10/18/2024
6.2.0 219,017 10/9/2024
6.1.1 137 10/9/2024
6.1.0 47,894 9/29/2024
6.0.24 153 9/11/2024
6.0.23 148 7/18/2024
6.0.21 158 6/18/2024
6.0.20 144 6/16/2024
6.0.19 147 6/14/2024
6.0.18 135 6/14/2024
6.0.17 139 6/14/2024
6.0.16 138 6/10/2024
6.0.15 143 6/9/2024
6.0.14 139 5/24/2024
6.0.13 132 5/23/2024
6.0.12 118 5/23/2024
6.0.11 148 5/20/2024
6.0.9 150 5/20/2024
6.0.7 148 5/18/2024
6.0.6 135 5/10/2024
6.0.5 133 5/10/2024
6.0.4 180 4/3/2024
6.0.3 198 3/25/2024
6.0.2 212 3/11/2024
6.0.0 441 11/21/2023
6.0.0-rc.6 125 10/25/2023
6.0.0-rc.5 102 10/25/2023
6.0.0-rc.4 95 10/23/2023
6.0.0-rc.3 91 10/19/2023
6.0.0-rc.2 97 10/18/2023
6.0.0-rc.1 95 10/16/2023
5.0.20 429 9/25/2023
5.0.19 440 9/10/2023
5.0.18 443 9/6/2023
5.0.17 430 9/6/2023
5.0.16 438 9/5/2023
5.0.15 446 9/5/2023
5.0.14 388 9/5/2023
5.0.13 443 9/1/2023
5.0.12 426 8/31/2023
5.0.11 385 8/30/2023
5.0.10 443 8/29/2023
5.0.9 467 8/24/2023
5.0.8 469 8/24/2023
5.0.7 456 8/23/2023
5.0.6 473 8/21/2023
5.0.5 470 8/21/2023
5.0.4 476 8/16/2023
5.0.3 555 8/2/2023
5.0.2 589 8/2/2023
5.0.1 565 8/1/2023
5.0.0 542 7/31/2023
4.1.26 571 7/20/2023
4.1.25 547 7/16/2023
4.1.24 558 6/13/2023
4.1.23 496 6/13/2023
4.1.22 551 5/30/2023
4.1.21 559 5/20/2023
4.1.20 315,593 4/19/2023
4.1.19 95,239 3/20/2023
4.1.18 631 3/20/2023
4.1.17 633 3/16/2023
4.1.16 638 3/16/2023
4.1.15 611 3/15/2023
4.1.14 1,163 3/9/2023
4.1.13 621 3/7/2023
4.1.12 645 2/10/2023
4.1.11 690 1/26/2023
4.1.10 715 1/22/2023
4.1.9 729 1/20/2023
4.1.8 737 1/18/2023
4.1.7 688 1/18/2023
4.1.6 735 1/17/2023
4.1.1 681 1/4/2023
4.1.0 723 1/1/2023
3.1.5 731 12/21/2022
3.1.3 703 12/12/2022
3.1.2 715 12/7/2022
3.1.1 713 12/7/2022
3.1.0 746 12/2/2022
3.0.29 764 12/1/2022
3.0.28 747 12/1/2022
3.0.27 763 11/23/2022
3.0.25 775 11/23/2022
3.0.24 746 11/18/2022
3.0.23 758 11/18/2022
3.0.22 764 11/15/2022
3.0.21 761 11/14/2022
3.0.20 801 11/13/2022
3.0.19 763 11/2/2022
3.0.18 788 11/2/2022
3.0.17 806 10/29/2022
3.0.16 822 10/29/2022
3.0.15 760 10/29/2022
3.0.14 797 10/24/2022
3.0.13 768 10/24/2022
3.0.12 827 10/17/2022
3.0.11 842 10/10/2022
3.0.10 832 10/6/2022
3.0.9 820 10/6/2022
3.0.8 826 10/6/2022
3.0.7 820 10/6/2022
3.0.6 829 10/5/2022
3.0.5 839 10/5/2022
3.0.4 828 10/5/2022
3.0.3 817 10/3/2022
3.0.2 813 9/30/2022
3.0.1 845 9/29/2022
2.0.17 857 9/29/2022
2.0.16 837 9/27/2022
2.0.15 867 9/27/2022
2.0.14 857 9/26/2022
2.0.13 849 9/26/2022
2.0.12 878 9/26/2022
2.0.11 887 9/25/2022
2.0.10 863 9/25/2022
2.0.9 887 9/22/2022
2.0.8 847 9/22/2022
2.0.6 846 9/20/2022
2.0.5 847 9/20/2022
2.0.4 838 9/20/2022
2.0.2 858 9/20/2022
2.0.1 939 9/13/2022
2.0.0 871 8/19/2022
1.1.24 902 7/30/2022
1.1.23 876 7/29/2022
1.1.22 873 7/29/2022
1.1.21 883 7/29/2022
1.1.20 845 7/29/2022
1.1.19 863 7/27/2022
1.1.17 902 7/27/2022
1.1.16 886 7/26/2022
1.1.15 871 7/25/2022
1.1.14 867 7/25/2022
1.1.13 904 7/22/2022
1.1.12 883 7/19/2022
1.1.11 880 7/19/2022
1.1.10 872 7/19/2022
1.1.9 886 7/19/2022
1.1.8 909 7/18/2022
1.1.7 862 7/18/2022
1.1.6 886 7/18/2022
1.1.5 926 7/17/2022
1.1.4 902 7/17/2022
1.1.3 975 7/17/2022
1.1.2 870 7/17/2022
1.1.0 900 7/17/2022
1.0.2 885 7/15/2022
1.0.1 909 7/15/2022
1.0.0 896 7/8/2022
0.10.7 903 7/7/2022
0.10.2 900 7/2/2022
0.10.1 912 7/1/2022
0.10.0 856 7/1/2022
0.9.10 887 6/20/2022
0.9.9 862 6/11/2022
0.9.7 881 6/9/2022
0.9.6 902 6/5/2022
0.9.5 873 6/3/2022
0.9.4 861 6/3/2022
0.9.3 858 6/3/2022