Rystem.RepositoryFramework.MigrationTools 9.0.15

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.15
                    
NuGet\Install-Package Rystem.RepositoryFramework.MigrationTools -Version 9.0.15
                    
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.15" />
                    
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.15" />
                    
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.15
                    
#r "nuget: Rystem.RepositoryFramework.MigrationTools, 9.0.15"
                    
#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.15
                    
#: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.15
                    
Install as a Cake Addin
#tool nuget:?package=Rystem.RepositoryFramework.MigrationTools&version=9.0.15
                    
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 276,740 5/29/2025
9.1.1 97,731 5/2/2025
9.0.32 186,623 4/15/2025
9.0.31 5,692 4/2/2025
9.0.30 88,730 3/26/2025
9.0.29 8,926 3/18/2025
9.0.28 164 3/17/2025
9.0.27 165 3/16/2025
9.0.26 159 3/13/2025
9.0.25 52,021 3/9/2025
9.0.21 227 3/6/2025
9.0.20 19,487 3/6/2025
9.0.19 222 3/6/2025
9.0.18 229 3/4/2025
9.0.17 108 3/1/2025
9.0.16 118 3/1/2025
9.0.15 75,494 2/22/2025
9.0.14 22,491 2/18/2025
9.0.13 130 2/9/2025
9.0.12 217,734 1/13/2025
9.0.11 23,983 1/9/2025
9.0.10 97 1/9/2025
9.0.9 3,977 1/7/2025
9.0.8 12,466 1/6/2025
9.0.7 114 1/6/2025
9.0.4 92,242 12/23/2024
9.0.3 124 12/22/2024
9.0.2 10,671 12/21/2024
9.0.1 1,162 12/21/2024
9.0.0 172,940 11/16/2024
9.0.0-rc.1 98 10/18/2024
6.2.0 219,012 10/9/2024
6.1.1 130 10/9/2024
6.1.0 47,887 9/29/2024
6.0.24 147 9/11/2024
6.0.23 141 7/18/2024
6.0.21 151 6/18/2024
6.0.20 138 6/16/2024
6.0.19 140 6/14/2024
6.0.18 128 6/14/2024
6.0.17 132 6/14/2024
6.0.16 131 6/10/2024
6.0.15 135 6/9/2024
6.0.14 133 5/24/2024
6.0.13 125 5/23/2024
6.0.12 111 5/23/2024
6.0.11 142 5/20/2024
6.0.9 143 5/20/2024
6.0.7 140 5/18/2024
6.0.6 128 5/10/2024
6.0.5 126 5/10/2024
6.0.4 173 4/3/2024
6.0.3 191 3/25/2024
6.0.2 206 3/11/2024
6.0.0 437 11/21/2023
6.0.0-rc.6 120 10/25/2023
6.0.0-rc.5 98 10/25/2023
6.0.0-rc.4 91 10/23/2023
6.0.0-rc.3 86 10/19/2023
6.0.0-rc.2 93 10/18/2023
6.0.0-rc.1 90 10/16/2023
5.0.20 424 9/25/2023
5.0.19 433 9/10/2023
5.0.18 437 9/6/2023
5.0.17 424 9/6/2023
5.0.16 431 9/5/2023
5.0.15 440 9/5/2023
5.0.14 382 9/5/2023
5.0.13 436 9/1/2023
5.0.12 420 8/31/2023
5.0.11 378 8/30/2023
5.0.10 436 8/29/2023
5.0.9 460 8/24/2023
5.0.8 463 8/24/2023
5.0.7 450 8/23/2023
5.0.6 466 8/21/2023
5.0.5 464 8/21/2023
5.0.4 470 8/16/2023
5.0.3 549 8/2/2023
5.0.2 583 8/2/2023
5.0.1 559 8/1/2023
5.0.0 536 7/31/2023
4.1.26 564 7/20/2023
4.1.25 541 7/16/2023
4.1.24 552 6/13/2023
4.1.23 490 6/13/2023
4.1.22 545 5/30/2023
4.1.21 553 5/20/2023
4.1.20 315,586 4/19/2023
4.1.19 95,232 3/20/2023
4.1.18 624 3/20/2023
4.1.17 627 3/16/2023
4.1.16 631 3/16/2023
4.1.15 605 3/15/2023
4.1.14 1,158 3/9/2023
4.1.13 614 3/7/2023
4.1.12 639 2/10/2023
4.1.11 683 1/26/2023
4.1.10 708 1/22/2023
4.1.9 722 1/20/2023
4.1.8 730 1/18/2023
4.1.7 681 1/18/2023
4.1.6 729 1/17/2023
4.1.1 675 1/4/2023
4.1.0 717 1/1/2023
3.1.5 725 12/21/2022
3.1.3 697 12/12/2022
3.1.2 709 12/7/2022
3.1.1 707 12/7/2022
3.1.0 739 12/2/2022
3.0.29 759 12/1/2022
3.0.28 741 12/1/2022
3.0.27 757 11/23/2022
3.0.25 768 11/23/2022
3.0.24 740 11/18/2022
3.0.23 752 11/18/2022
3.0.22 757 11/15/2022
3.0.21 755 11/14/2022
3.0.20 794 11/13/2022
3.0.19 757 11/2/2022
3.0.18 781 11/2/2022
3.0.17 800 10/29/2022
3.0.16 816 10/29/2022
3.0.15 753 10/29/2022
3.0.14 791 10/24/2022
3.0.13 761 10/24/2022
3.0.12 821 10/17/2022
3.0.11 835 10/10/2022
3.0.10 825 10/6/2022
3.0.9 813 10/6/2022
3.0.8 820 10/6/2022
3.0.7 814 10/6/2022
3.0.6 823 10/5/2022
3.0.5 832 10/5/2022
3.0.4 822 10/5/2022
3.0.3 811 10/3/2022
3.0.2 807 9/30/2022
3.0.1 838 9/29/2022
2.0.17 850 9/29/2022
2.0.16 831 9/27/2022
2.0.15 860 9/27/2022
2.0.14 850 9/26/2022
2.0.13 843 9/26/2022
2.0.12 872 9/26/2022
2.0.11 880 9/25/2022
2.0.10 857 9/25/2022
2.0.9 881 9/22/2022
2.0.8 839 9/22/2022
2.0.6 840 9/20/2022
2.0.5 840 9/20/2022
2.0.4 831 9/20/2022
2.0.2 851 9/20/2022
2.0.1 932 9/13/2022
2.0.0 865 8/19/2022
1.1.24 895 7/30/2022
1.1.23 869 7/29/2022
1.1.22 867 7/29/2022
1.1.21 877 7/29/2022
1.1.20 840 7/29/2022
1.1.19 856 7/27/2022
1.1.17 895 7/27/2022
1.1.16 879 7/26/2022
1.1.15 865 7/25/2022
1.1.14 861 7/25/2022
1.1.13 898 7/22/2022
1.1.12 876 7/19/2022
1.1.11 873 7/19/2022
1.1.10 865 7/19/2022
1.1.9 880 7/19/2022
1.1.8 903 7/18/2022
1.1.7 855 7/18/2022
1.1.6 881 7/18/2022
1.1.5 920 7/17/2022
1.1.4 896 7/17/2022
1.1.3 969 7/17/2022
1.1.2 864 7/17/2022
1.1.0 893 7/17/2022
1.0.2 879 7/15/2022
1.0.1 902 7/15/2022
1.0.0 890 7/8/2022
0.10.7 896 7/7/2022
0.10.2 893 7/2/2022
0.10.1 906 7/1/2022
0.10.0 849 7/1/2022
0.9.10 880 6/20/2022
0.9.9 855 6/11/2022
0.9.7 875 6/9/2022
0.9.6 895 6/5/2022
0.9.5 867 6/3/2022
0.9.4 855 6/3/2022
0.9.3 852 6/3/2022