Rystem.RepositoryFramework.MigrationTools 9.0.19

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.19
                    
NuGet\Install-Package Rystem.RepositoryFramework.MigrationTools -Version 9.0.19
                    
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.19" />
                    
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.19" />
                    
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.19
                    
#r "nuget: Rystem.RepositoryFramework.MigrationTools, 9.0.19"
                    
#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.19
                    
#: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.19
                    
Install as a Cake Addin
#tool nuget:?package=Rystem.RepositoryFramework.MigrationTools&version=9.0.19
                    
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 257,290 5/29/2025
9.1.1 97,729 5/2/2025
9.0.32 186,622 4/15/2025
9.0.31 5,690 4/2/2025
9.0.30 88,729 3/26/2025
9.0.29 8,925 3/18/2025
9.0.28 162 3/17/2025
9.0.27 164 3/16/2025
9.0.26 158 3/13/2025
9.0.25 52,020 3/9/2025
9.0.21 226 3/6/2025
9.0.20 19,486 3/6/2025
9.0.19 219 3/6/2025
9.0.18 228 3/4/2025
9.0.17 107 3/1/2025
9.0.16 117 3/1/2025
9.0.15 75,493 2/22/2025
9.0.14 22,490 2/18/2025
9.0.13 129 2/9/2025
9.0.12 217,733 1/13/2025
9.0.11 23,982 1/9/2025
9.0.10 96 1/9/2025
9.0.9 3,976 1/7/2025
9.0.8 12,465 1/6/2025
9.0.7 113 1/6/2025
9.0.4 92,241 12/23/2024
9.0.3 122 12/22/2024
9.0.2 10,670 12/21/2024
9.0.1 1,161 12/21/2024
9.0.0 172,939 11/16/2024
9.0.0-rc.1 97 10/18/2024
6.2.0 219,011 10/9/2024
6.1.1 129 10/9/2024
6.1.0 47,886 9/29/2024
6.0.24 146 9/11/2024
6.0.23 140 7/18/2024
6.0.21 149 6/18/2024
6.0.20 137 6/16/2024
6.0.19 139 6/14/2024
6.0.18 127 6/14/2024
6.0.17 131 6/14/2024
6.0.16 130 6/10/2024
6.0.15 134 6/9/2024
6.0.14 132 5/24/2024
6.0.13 124 5/23/2024
6.0.12 110 5/23/2024
6.0.11 141 5/20/2024
6.0.9 141 5/20/2024
6.0.7 139 5/18/2024
6.0.6 127 5/10/2024
6.0.5 125 5/10/2024
6.0.4 172 4/3/2024
6.0.3 190 3/25/2024
6.0.2 206 3/11/2024
6.0.0 437 11/21/2023
6.0.0-rc.6 118 10/25/2023
6.0.0-rc.5 96 10/25/2023
6.0.0-rc.4 89 10/23/2023
6.0.0-rc.3 84 10/19/2023
6.0.0-rc.2 91 10/18/2023
6.0.0-rc.1 87 10/16/2023
5.0.20 421 9/25/2023
5.0.19 428 9/10/2023
5.0.18 432 9/6/2023
5.0.17 419 9/6/2023
5.0.16 426 9/5/2023
5.0.15 435 9/5/2023
5.0.14 376 9/5/2023
5.0.13 430 9/1/2023
5.0.12 414 8/31/2023
5.0.11 371 8/30/2023
5.0.10 429 8/29/2023
5.0.9 453 8/24/2023
5.0.8 456 8/24/2023
5.0.7 443 8/23/2023
5.0.6 459 8/21/2023
5.0.5 457 8/21/2023
5.0.4 462 8/16/2023
5.0.3 542 8/2/2023
5.0.2 576 8/2/2023
5.0.1 552 8/1/2023
5.0.0 529 7/31/2023
4.1.26 556 7/20/2023
4.1.25 533 7/16/2023
4.1.24 542 6/13/2023
4.1.23 480 6/13/2023
4.1.22 536 5/30/2023
4.1.21 544 5/20/2023
4.1.20 315,576 4/19/2023
4.1.19 95,223 3/20/2023
4.1.18 615 3/20/2023
4.1.17 618 3/16/2023
4.1.16 622 3/16/2023
4.1.15 596 3/15/2023
4.1.14 1,147 3/9/2023
4.1.13 605 3/7/2023
4.1.12 630 2/10/2023
4.1.11 674 1/26/2023
4.1.10 699 1/22/2023
4.1.9 713 1/20/2023
4.1.8 720 1/18/2023
4.1.7 672 1/18/2023
4.1.6 719 1/17/2023
4.1.1 665 1/4/2023
4.1.0 708 1/1/2023
3.1.5 716 12/21/2022
3.1.3 688 12/12/2022
3.1.2 700 12/7/2022
3.1.1 698 12/7/2022
3.1.0 730 12/2/2022
3.0.29 749 12/1/2022
3.0.28 732 12/1/2022
3.0.27 748 11/23/2022
3.0.25 759 11/23/2022
3.0.24 731 11/18/2022
3.0.23 741 11/18/2022
3.0.22 748 11/15/2022
3.0.21 746 11/14/2022
3.0.20 785 11/13/2022
3.0.19 748 11/2/2022
3.0.18 771 11/2/2022
3.0.17 790 10/29/2022
3.0.16 806 10/29/2022
3.0.15 743 10/29/2022
3.0.14 781 10/24/2022
3.0.13 750 10/24/2022
3.0.12 811 10/17/2022
3.0.11 824 10/10/2022
3.0.10 815 10/6/2022
3.0.9 803 10/6/2022
3.0.8 810 10/6/2022
3.0.7 804 10/6/2022
3.0.6 813 10/5/2022
3.0.5 822 10/5/2022
3.0.4 812 10/5/2022
3.0.3 801 10/3/2022
3.0.2 797 9/30/2022
3.0.1 828 9/29/2022
2.0.17 840 9/29/2022
2.0.16 821 9/27/2022
2.0.15 850 9/27/2022
2.0.14 839 9/26/2022
2.0.13 833 9/26/2022
2.0.12 862 9/26/2022
2.0.11 869 9/25/2022
2.0.10 847 9/25/2022
2.0.9 870 9/22/2022
2.0.8 829 9/22/2022
2.0.6 830 9/20/2022
2.0.5 830 9/20/2022
2.0.4 821 9/20/2022
2.0.2 841 9/20/2022
2.0.1 922 9/13/2022
2.0.0 855 8/19/2022
1.1.24 885 7/30/2022
1.1.23 859 7/29/2022
1.1.22 856 7/29/2022
1.1.21 867 7/29/2022
1.1.20 830 7/29/2022
1.1.19 846 7/27/2022
1.1.17 884 7/27/2022
1.1.16 869 7/26/2022
1.1.15 855 7/25/2022
1.1.14 851 7/25/2022
1.1.13 886 7/22/2022
1.1.12 865 7/19/2022
1.1.11 862 7/19/2022
1.1.10 853 7/19/2022
1.1.9 869 7/19/2022
1.1.8 892 7/18/2022
1.1.7 844 7/18/2022
1.1.6 870 7/18/2022
1.1.5 908 7/17/2022
1.1.4 885 7/17/2022
1.1.3 958 7/17/2022
1.1.2 853 7/17/2022
1.1.0 882 7/17/2022
1.0.2 868 7/15/2022
1.0.1 890 7/15/2022
1.0.0 879 7/8/2022
0.10.7 885 7/7/2022
0.10.2 882 7/2/2022
0.10.1 895 7/1/2022
0.10.0 838 7/1/2022
0.9.10 869 6/20/2022
0.9.9 844 6/11/2022
0.9.7 864 6/9/2022
0.9.6 884 6/5/2022
0.9.5 856 6/3/2022
0.9.4 844 6/3/2022
0.9.3 841 6/3/2022