Rystem.RepositoryFramework.MigrationTools 9.0.12

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.12
                    
NuGet\Install-Package Rystem.RepositoryFramework.MigrationTools -Version 9.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.MigrationTools" Version="9.0.12" />
                    
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.12" />
                    
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.12
                    
#r "nuget: Rystem.RepositoryFramework.MigrationTools, 9.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.
#:package Rystem.RepositoryFramework.MigrationTools@9.0.12
                    
#: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.12
                    
Install as a Cake Addin
#tool nuget:?package=Rystem.RepositoryFramework.MigrationTools&version=9.0.12
                    
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 141 9/2/2025
9.1.2 570,459 5/29/2025
9.1.1 97,744 5/2/2025
9.0.32 186,636 4/15/2025
9.0.31 5,705 4/2/2025
9.0.30 88,745 3/26/2025
9.0.29 8,940 3/18/2025
9.0.28 178 3/17/2025
9.0.27 178 3/16/2025
9.0.26 173 3/13/2025
9.0.25 52,036 3/9/2025
9.0.21 243 3/6/2025
9.0.20 19,501 3/6/2025
9.0.19 234 3/6/2025
9.0.18 242 3/4/2025
9.0.17 120 3/1/2025
9.0.16 130 3/1/2025
9.0.15 75,507 2/22/2025
9.0.14 22,504 2/18/2025
9.0.13 143 2/9/2025
9.0.12 217,747 1/13/2025
9.0.11 23,996 1/9/2025
9.0.10 109 1/9/2025
9.0.9 3,991 1/7/2025
9.0.8 12,478 1/6/2025
9.0.7 126 1/6/2025
9.0.4 92,255 12/23/2024
9.0.3 137 12/22/2024
9.0.2 10,684 12/21/2024
9.0.1 1,175 12/21/2024
9.0.0 172,953 11/16/2024
9.0.0-rc.1 103 10/18/2024
6.2.0 219,024 10/9/2024
6.1.1 143 10/9/2024
6.1.0 47,900 9/29/2024
6.0.24 159 9/11/2024
6.0.23 154 7/18/2024
6.0.21 164 6/18/2024
6.0.20 150 6/16/2024
6.0.19 153 6/14/2024
6.0.18 141 6/14/2024
6.0.17 145 6/14/2024
6.0.16 144 6/10/2024
6.0.15 149 6/9/2024
6.0.14 145 5/24/2024
6.0.13 138 5/23/2024
6.0.12 124 5/23/2024
6.0.11 154 5/20/2024
6.0.9 156 5/20/2024
6.0.7 154 5/18/2024
6.0.6 141 5/10/2024
6.0.5 139 5/10/2024
6.0.4 186 4/3/2024
6.0.3 204 3/25/2024
6.0.2 218 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 442 9/10/2023
5.0.18 447 9/6/2023
5.0.17 434 9/6/2023
5.0.16 442 9/5/2023
5.0.15 450 9/5/2023
5.0.14 392 9/5/2023
5.0.13 447 9/1/2023
5.0.12 430 8/31/2023
5.0.11 389 8/30/2023
5.0.10 447 8/29/2023
5.0.9 472 8/24/2023
5.0.8 475 8/24/2023
5.0.7 461 8/23/2023
5.0.6 478 8/21/2023
5.0.5 475 8/21/2023
5.0.4 481 8/16/2023
5.0.3 561 8/2/2023
5.0.2 595 8/2/2023
5.0.1 571 8/1/2023
5.0.0 548 7/31/2023
4.1.26 577 7/20/2023
4.1.25 554 7/16/2023
4.1.24 565 6/13/2023
4.1.23 503 6/13/2023
4.1.22 559 5/30/2023
4.1.21 568 5/20/2023
4.1.20 315,601 4/19/2023
4.1.19 95,247 3/20/2023
4.1.18 640 3/20/2023
4.1.17 641 3/16/2023
4.1.16 646 3/16/2023
4.1.15 619 3/15/2023
4.1.14 1,172 3/9/2023
4.1.13 630 3/7/2023
4.1.12 654 2/10/2023
4.1.11 699 1/26/2023
4.1.10 724 1/22/2023
4.1.9 739 1/20/2023
4.1.8 746 1/18/2023
4.1.7 698 1/18/2023
4.1.6 744 1/17/2023
4.1.1 690 1/4/2023
4.1.0 732 1/1/2023
3.1.5 740 12/21/2022
3.1.3 712 12/12/2022
3.1.2 724 12/7/2022
3.1.1 722 12/7/2022
3.1.0 755 12/2/2022
3.0.29 773 12/1/2022
3.0.28 756 12/1/2022
3.0.27 772 11/23/2022
3.0.25 784 11/23/2022
3.0.24 755 11/18/2022
3.0.23 767 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 773 11/2/2022
3.0.18 798 11/2/2022
3.0.17 816 10/29/2022
3.0.16 832 10/29/2022
3.0.15 770 10/29/2022
3.0.14 807 10/24/2022
3.0.13 778 10/24/2022
3.0.12 837 10/17/2022
3.0.11 852 10/10/2022
3.0.10 842 10/6/2022
3.0.9 830 10/6/2022
3.0.8 836 10/6/2022
3.0.7 830 10/6/2022
3.0.6 839 10/5/2022
3.0.5 849 10/5/2022
3.0.4 838 10/5/2022
3.0.3 827 10/3/2022
3.0.2 824 9/30/2022
3.0.1 855 9/29/2022
2.0.17 867 9/29/2022
2.0.16 847 9/27/2022
2.0.15 877 9/27/2022
2.0.14 867 9/26/2022
2.0.13 859 9/26/2022
2.0.12 888 9/26/2022
2.0.11 897 9/25/2022
2.0.10 873 9/25/2022
2.0.9 897 9/22/2022
2.0.8 857 9/22/2022
2.0.6 856 9/20/2022
2.0.5 857 9/20/2022
2.0.4 848 9/20/2022
2.0.2 868 9/20/2022
2.0.1 949 9/13/2022
2.0.0 881 8/19/2022
1.1.24 912 7/30/2022
1.1.23 886 7/29/2022
1.1.22 883 7/29/2022
1.1.21 893 7/29/2022
1.1.20 855 7/29/2022
1.1.19 873 7/27/2022
1.1.17 912 7/27/2022
1.1.16 896 7/26/2022
1.1.15 881 7/25/2022
1.1.14 877 7/25/2022
1.1.13 914 7/22/2022
1.1.12 893 7/19/2022
1.1.11 890 7/19/2022
1.1.10 882 7/19/2022
1.1.9 896 7/19/2022
1.1.8 918 7/18/2022
1.1.7 871 7/18/2022
1.1.6 896 7/18/2022
1.1.5 936 7/17/2022
1.1.4 912 7/17/2022
1.1.3 985 7/17/2022
1.1.2 880 7/17/2022
1.1.0 910 7/17/2022
1.0.2 895 7/15/2022
1.0.1 919 7/15/2022
1.0.0 906 7/8/2022
0.10.7 913 7/7/2022
0.10.2 910 7/2/2022
0.10.1 922 7/1/2022
0.10.0 866 7/1/2022
0.9.10 897 6/20/2022
0.9.9 872 6/11/2022
0.9.7 891 6/9/2022
0.9.6 912 6/5/2022
0.9.5 883 6/3/2022
0.9.4 871 6/3/2022
0.9.3 868 6/3/2022