Rystem.RepositoryFramework.MigrationTools 9.1.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package Rystem.RepositoryFramework.MigrationTools --version 9.1.2
                    
NuGet\Install-Package Rystem.RepositoryFramework.MigrationTools -Version 9.1.2
                    
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.2" />
                    
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.2" />
                    
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.2
                    
#r "nuget: Rystem.RepositoryFramework.MigrationTools, 9.1.2"
                    
#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.2
                    
#: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.2
                    
Install as a Cake Addin
#tool nuget:?package=Rystem.RepositoryFramework.MigrationTools&version=9.1.2
                    
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 0 9/2/2025
9.1.2 425,569 5/29/2025
9.1.1 97,736 5/2/2025
9.0.32 186,628 4/15/2025
9.0.31 5,697 4/2/2025
9.0.30 88,735 3/26/2025
9.0.29 8,932 3/18/2025
9.0.28 170 3/17/2025
9.0.27 170 3/16/2025
9.0.26 165 3/13/2025
9.0.25 52,028 3/9/2025
9.0.21 233 3/6/2025
9.0.20 19,494 3/6/2025
9.0.19 227 3/6/2025
9.0.18 235 3/4/2025
9.0.17 113 3/1/2025
9.0.16 123 3/1/2025
9.0.15 75,499 2/22/2025
9.0.14 22,497 2/18/2025
9.0.13 136 2/9/2025
9.0.12 217,740 1/13/2025
9.0.11 23,989 1/9/2025
9.0.10 102 1/9/2025
9.0.9 3,984 1/7/2025
9.0.8 12,471 1/6/2025
9.0.7 119 1/6/2025
9.0.4 92,247 12/23/2024
9.0.3 130 12/22/2024
9.0.2 10,677 12/21/2024
9.0.1 1,168 12/21/2024
9.0.0 172,946 11/16/2024
9.0.0-rc.1 102 10/18/2024
6.2.0 219,016 10/9/2024
6.1.1 136 10/9/2024
6.1.0 47,893 9/29/2024
6.0.24 152 9/11/2024
6.0.23 147 7/18/2024
6.0.21 157 6/18/2024
6.0.20 143 6/16/2024
6.0.19 146 6/14/2024
6.0.18 134 6/14/2024
6.0.17 138 6/14/2024
6.0.16 137 6/10/2024
6.0.15 142 6/9/2024
6.0.14 138 5/24/2024
6.0.13 131 5/23/2024
6.0.12 117 5/23/2024
6.0.11 147 5/20/2024
6.0.9 149 5/20/2024
6.0.7 147 5/18/2024
6.0.6 134 5/10/2024
6.0.5 132 5/10/2024
6.0.4 179 4/3/2024
6.0.3 197 3/25/2024
6.0.2 211 3/11/2024
6.0.0 440 11/21/2023
6.0.0-rc.6 124 10/25/2023
6.0.0-rc.5 101 10/25/2023
6.0.0-rc.4 94 10/23/2023
6.0.0-rc.3 90 10/19/2023
6.0.0-rc.2 96 10/18/2023
6.0.0-rc.1 94 10/16/2023
5.0.20 428 9/25/2023
5.0.19 439 9/10/2023
5.0.18 442 9/6/2023
5.0.17 429 9/6/2023
5.0.16 437 9/5/2023
5.0.15 445 9/5/2023
5.0.14 387 9/5/2023
5.0.13 442 9/1/2023
5.0.12 425 8/31/2023
5.0.11 384 8/30/2023
5.0.10 442 8/29/2023
5.0.9 466 8/24/2023
5.0.8 468 8/24/2023
5.0.7 455 8/23/2023
5.0.6 472 8/21/2023
5.0.5 469 8/21/2023
5.0.4 475 8/16/2023
5.0.3 554 8/2/2023
5.0.2 588 8/2/2023
5.0.1 564 8/1/2023
5.0.0 541 7/31/2023
4.1.26 570 7/20/2023
4.1.25 546 7/16/2023
4.1.24 557 6/13/2023
4.1.23 495 6/13/2023
4.1.22 550 5/30/2023
4.1.21 558 5/20/2023
4.1.20 315,592 4/19/2023
4.1.19 95,238 3/20/2023
4.1.18 630 3/20/2023
4.1.17 632 3/16/2023
4.1.16 637 3/16/2023
4.1.15 610 3/15/2023
4.1.14 1,162 3/9/2023
4.1.13 620 3/7/2023
4.1.12 644 2/10/2023
4.1.11 689 1/26/2023
4.1.10 714 1/22/2023
4.1.9 728 1/20/2023
4.1.8 736 1/18/2023
4.1.7 687 1/18/2023
4.1.6 734 1/17/2023
4.1.1 680 1/4/2023
4.1.0 722 1/1/2023
3.1.5 730 12/21/2022
3.1.3 702 12/12/2022
3.1.2 714 12/7/2022
3.1.1 712 12/7/2022
3.1.0 745 12/2/2022
3.0.29 763 12/1/2022
3.0.28 746 12/1/2022
3.0.27 762 11/23/2022
3.0.25 774 11/23/2022
3.0.24 745 11/18/2022
3.0.23 757 11/18/2022
3.0.22 763 11/15/2022
3.0.21 760 11/14/2022
3.0.20 800 11/13/2022
3.0.19 762 11/2/2022
3.0.18 787 11/2/2022
3.0.17 805 10/29/2022
3.0.16 821 10/29/2022
3.0.15 759 10/29/2022
3.0.14 796 10/24/2022
3.0.13 767 10/24/2022
3.0.12 826 10/17/2022
3.0.11 841 10/10/2022
3.0.10 831 10/6/2022
3.0.9 819 10/6/2022
3.0.8 825 10/6/2022
3.0.7 819 10/6/2022
3.0.6 828 10/5/2022
3.0.5 838 10/5/2022
3.0.4 827 10/5/2022
3.0.3 816 10/3/2022
3.0.2 812 9/30/2022
3.0.1 844 9/29/2022
2.0.17 856 9/29/2022
2.0.16 836 9/27/2022
2.0.15 866 9/27/2022
2.0.14 856 9/26/2022
2.0.13 848 9/26/2022
2.0.12 877 9/26/2022
2.0.11 886 9/25/2022
2.0.10 862 9/25/2022
2.0.9 886 9/22/2022
2.0.8 845 9/22/2022
2.0.6 845 9/20/2022
2.0.5 846 9/20/2022
2.0.4 837 9/20/2022
2.0.2 857 9/20/2022
2.0.1 938 9/13/2022
2.0.0 870 8/19/2022
1.1.24 901 7/30/2022
1.1.23 875 7/29/2022
1.1.22 872 7/29/2022
1.1.21 882 7/29/2022
1.1.20 844 7/29/2022
1.1.19 862 7/27/2022
1.1.17 901 7/27/2022
1.1.16 885 7/26/2022
1.1.15 870 7/25/2022
1.1.14 866 7/25/2022
1.1.13 903 7/22/2022
1.1.12 882 7/19/2022
1.1.11 878 7/19/2022
1.1.10 871 7/19/2022
1.1.9 885 7/19/2022
1.1.8 908 7/18/2022
1.1.7 861 7/18/2022
1.1.6 885 7/18/2022
1.1.5 925 7/17/2022
1.1.4 901 7/17/2022
1.1.3 974 7/17/2022
1.1.2 869 7/17/2022
1.1.0 899 7/17/2022
1.0.2 884 7/15/2022
1.0.1 908 7/15/2022
1.0.0 895 7/8/2022
0.10.7 902 7/7/2022
0.10.2 899 7/2/2022
0.10.1 911 7/1/2022
0.10.0 855 7/1/2022
0.9.10 886 6/20/2022
0.9.9 861 6/11/2022
0.9.7 880 6/9/2022
0.9.6 901 6/5/2022
0.9.5 872 6/3/2022
0.9.4 860 6/3/2022
0.9.3 857 6/3/2022