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 165 9/2/2025
9.1.2 606,828 5/29/2025
9.1.1 97,756 5/2/2025
9.0.32 186,648 4/15/2025
9.0.31 5,717 4/2/2025
9.0.30 88,757 3/26/2025
9.0.29 8,952 3/18/2025
9.0.28 190 3/17/2025
9.0.27 190 3/16/2025
9.0.26 185 3/13/2025
9.0.25 52,048 3/9/2025
9.0.21 255 3/6/2025
9.0.20 19,513 3/6/2025
9.0.19 246 3/6/2025
9.0.18 254 3/4/2025
9.0.17 132 3/1/2025
9.0.16 142 3/1/2025
9.0.15 75,519 2/22/2025
9.0.14 22,516 2/18/2025
9.0.13 155 2/9/2025
9.0.12 217,759 1/13/2025
9.0.11 24,008 1/9/2025
9.0.10 121 1/9/2025
9.0.9 4,003 1/7/2025
9.0.8 12,480 1/6/2025
9.0.7 138 1/6/2025
9.0.4 92,267 12/23/2024
9.0.3 149 12/22/2024
9.0.2 10,696 12/21/2024
9.0.1 1,187 12/21/2024
9.0.0 172,965 11/16/2024
9.0.0-rc.1 103 10/18/2024
6.2.0 219,036 10/9/2024
6.1.1 155 10/9/2024
6.1.0 47,912 9/29/2024
6.0.24 171 9/11/2024
6.0.23 166 7/18/2024
6.0.21 176 6/18/2024
6.0.20 162 6/16/2024
6.0.19 165 6/14/2024
6.0.18 153 6/14/2024
6.0.17 147 6/14/2024
6.0.16 156 6/10/2024
6.0.15 161 6/9/2024
6.0.14 147 5/24/2024
6.0.13 150 5/23/2024
6.0.12 136 5/23/2024
6.0.11 166 5/20/2024
6.0.9 158 5/20/2024
6.0.7 166 5/18/2024
6.0.6 153 5/10/2024
6.0.5 151 5/10/2024
6.0.4 198 4/3/2024
6.0.3 216 3/25/2024
6.0.2 232 3/11/2024
6.0.0 451 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 439 9/25/2023
5.0.19 452 9/10/2023
5.0.18 457 9/6/2023
5.0.17 444 9/6/2023
5.0.16 452 9/5/2023
5.0.15 460 9/5/2023
5.0.14 402 9/5/2023
5.0.13 457 9/1/2023
5.0.12 440 8/31/2023
5.0.11 399 8/30/2023
5.0.10 457 8/29/2023
5.0.9 472 8/24/2023
5.0.8 475 8/24/2023
5.0.7 471 8/23/2023
5.0.6 488 8/21/2023
5.0.5 475 8/21/2023
5.0.4 491 8/16/2023
5.0.3 571 8/2/2023
5.0.2 605 8/2/2023
5.0.1 581 8/1/2023
5.0.0 548 7/31/2023
4.1.26 587 7/20/2023
4.1.25 564 7/16/2023
4.1.24 575 6/13/2023
4.1.23 513 6/13/2023
4.1.22 569 5/30/2023
4.1.21 578 5/20/2023
4.1.20 315,601 4/19/2023
4.1.19 95,257 3/20/2023
4.1.18 650 3/20/2023
4.1.17 651 3/16/2023
4.1.16 656 3/16/2023
4.1.15 619 3/15/2023
4.1.14 1,182 3/9/2023
4.1.13 640 3/7/2023
4.1.12 664 2/10/2023
4.1.11 709 1/26/2023
4.1.10 734 1/22/2023
4.1.9 749 1/20/2023
4.1.8 756 1/18/2023
4.1.7 708 1/18/2023
4.1.6 754 1/17/2023
4.1.1 700 1/4/2023
4.1.0 742 1/1/2023
3.1.5 750 12/21/2022
3.1.3 722 12/12/2022
3.1.2 734 12/7/2022
3.1.1 733 12/7/2022
3.1.0 765 12/2/2022
3.0.29 783 12/1/2022
3.0.28 766 12/1/2022
3.0.27 782 11/23/2022
3.0.25 794 11/23/2022
3.0.24 755 11/18/2022
3.0.23 777 11/18/2022
3.0.22 773 11/15/2022
3.0.21 771 11/14/2022
3.0.20 811 11/13/2022
3.0.19 783 11/2/2022
3.0.18 798 11/2/2022
3.0.17 826 10/29/2022
3.0.16 842 10/29/2022
3.0.15 780 10/29/2022
3.0.14 817 10/24/2022
3.0.13 788 10/24/2022
3.0.12 847 10/17/2022
3.0.11 862 10/10/2022
3.0.10 852 10/6/2022
3.0.9 840 10/6/2022
3.0.8 846 10/6/2022
3.0.7 840 10/6/2022
3.0.6 849 10/5/2022
3.0.5 859 10/5/2022
3.0.4 838 10/5/2022
3.0.3 838 10/3/2022
3.0.2 835 9/30/2022
3.0.1 866 9/29/2022
2.0.17 878 9/29/2022
2.0.16 858 9/27/2022
2.0.15 888 9/27/2022
2.0.14 878 9/26/2022
2.0.13 870 9/26/2022
2.0.12 899 9/26/2022
2.0.11 908 9/25/2022
2.0.10 884 9/25/2022
2.0.9 908 9/22/2022
2.0.8 868 9/22/2022
2.0.6 867 9/20/2022
2.0.5 868 9/20/2022
2.0.4 859 9/20/2022
2.0.2 879 9/20/2022
2.0.1 960 9/13/2022
2.0.0 892 8/19/2022
1.1.24 923 7/30/2022
1.1.23 897 7/29/2022
1.1.22 894 7/29/2022
1.1.21 904 7/29/2022
1.1.20 866 7/29/2022
1.1.19 884 7/27/2022
1.1.17 923 7/27/2022
1.1.16 907 7/26/2022
1.1.15 892 7/25/2022
1.1.14 877 7/25/2022
1.1.13 925 7/22/2022
1.1.12 893 7/19/2022
1.1.11 901 7/19/2022
1.1.10 893 7/19/2022
1.1.9 896 7/19/2022
1.1.8 929 7/18/2022
1.1.7 882 7/18/2022
1.1.6 907 7/18/2022
1.1.5 947 7/17/2022
1.1.4 923 7/17/2022
1.1.3 996 7/17/2022
1.1.2 891 7/17/2022
1.1.0 921 7/17/2022
1.0.2 906 7/15/2022
1.0.1 930 7/15/2022
1.0.0 917 7/8/2022
0.10.7 924 7/7/2022
0.10.2 921 7/2/2022
0.10.1 933 7/1/2022
0.10.0 877 7/1/2022
0.9.10 908 6/20/2022
0.9.9 883 6/11/2022
0.9.7 891 6/9/2022
0.9.6 923 6/5/2022
0.9.5 894 6/3/2022
0.9.4 882 6/3/2022
0.9.3 879 6/3/2022