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.
#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.2 186,828 5/29/2025
9.1.1 97,721 5/2/2025
9.0.32 186,615 4/15/2025
9.0.31 5,683 4/2/2025
9.0.30 88,721 3/26/2025
9.0.29 8,918 3/18/2025
9.0.28 155 3/17/2025
9.0.27 154 3/16/2025
9.0.26 150 3/13/2025
9.0.25 52,013 3/9/2025
9.0.21 216 3/6/2025
9.0.20 19,478 3/6/2025
9.0.19 212 3/6/2025
9.0.18 221 3/4/2025
9.0.17 100 3/1/2025
9.0.16 110 3/1/2025
9.0.15 75,486 2/22/2025
9.0.14 22,483 2/18/2025
9.0.13 120 2/9/2025
9.0.12 217,725 1/13/2025
9.0.11 23,975 1/9/2025
9.0.10 89 1/9/2025
9.0.9 3,969 1/7/2025
9.0.8 12,458 1/6/2025
9.0.7 106 1/6/2025
9.0.4 92,234 12/23/2024
9.0.3 115 12/22/2024
9.0.2 10,662 12/21/2024
9.0.1 1,152 12/21/2024
9.0.0 172,931 11/16/2024
9.0.0-rc.1 95 10/18/2024
6.2.0 219,004 10/9/2024
6.1.1 123 10/9/2024
6.1.0 47,880 9/29/2024
6.0.24 140 9/11/2024
6.0.23 134 7/18/2024
6.0.21 143 6/18/2024
6.0.20 131 6/16/2024
6.0.19 132 6/14/2024
6.0.18 121 6/14/2024
6.0.17 125 6/14/2024
6.0.16 124 6/10/2024
6.0.15 128 6/9/2024
6.0.14 126 5/24/2024
6.0.13 118 5/23/2024
6.0.12 104 5/23/2024
6.0.11 135 5/20/2024
6.0.9 135 5/20/2024
6.0.7 133 5/18/2024
6.0.6 121 5/10/2024
6.0.5 119 5/10/2024
6.0.4 166 4/3/2024
6.0.3 184 3/25/2024
6.0.2 200 3/11/2024
6.0.0 435 11/21/2023
6.0.0-rc.6 116 10/25/2023
6.0.0-rc.5 94 10/25/2023
6.0.0-rc.4 87 10/23/2023
6.0.0-rc.3 82 10/19/2023
6.0.0-rc.2 88 10/18/2023
6.0.0-rc.1 85 10/16/2023
5.0.20 419 9/25/2023
5.0.19 426 9/10/2023
5.0.18 428 9/6/2023
5.0.17 414 9/6/2023
5.0.16 422 9/5/2023
5.0.15 431 9/5/2023
5.0.14 372 9/5/2023
5.0.13 426 9/1/2023
5.0.12 410 8/31/2023
5.0.11 367 8/30/2023
5.0.10 425 8/29/2023
5.0.9 449 8/24/2023
5.0.8 452 8/24/2023
5.0.7 439 8/23/2023
5.0.6 455 8/21/2023
5.0.5 453 8/21/2023
5.0.4 458 8/16/2023
5.0.3 538 8/2/2023
5.0.2 572 8/2/2023
5.0.1 548 8/1/2023
5.0.0 525 7/31/2023
4.1.26 552 7/20/2023
4.1.25 529 7/16/2023
4.1.24 538 6/13/2023
4.1.23 476 6/13/2023
4.1.22 532 5/30/2023
4.1.21 539 5/20/2023
4.1.20 315,572 4/19/2023
4.1.19 95,219 3/20/2023
4.1.18 611 3/20/2023
4.1.17 614 3/16/2023
4.1.16 618 3/16/2023
4.1.15 592 3/15/2023
4.1.14 1,143 3/9/2023
4.1.13 601 3/7/2023
4.1.12 626 2/10/2023
4.1.11 669 1/26/2023
4.1.10 695 1/22/2023
4.1.9 709 1/20/2023
4.1.8 716 1/18/2023
4.1.7 668 1/18/2023
4.1.6 715 1/17/2023
4.1.1 661 1/4/2023
4.1.0 704 1/1/2023
3.1.5 712 12/21/2022
3.1.3 684 12/12/2022
3.1.2 696 12/7/2022
3.1.1 695 12/7/2022
3.1.0 726 12/2/2022
3.0.29 744 12/1/2022
3.0.28 728 12/1/2022
3.0.27 744 11/23/2022
3.0.25 755 11/23/2022
3.0.24 727 11/18/2022
3.0.23 737 11/18/2022
3.0.22 744 11/15/2022
3.0.21 742 11/14/2022
3.0.20 781 11/13/2022
3.0.19 744 11/2/2022
3.0.18 767 11/2/2022
3.0.17 786 10/29/2022
3.0.16 802 10/29/2022
3.0.15 739 10/29/2022
3.0.14 777 10/24/2022
3.0.13 746 10/24/2022
3.0.12 807 10/17/2022
3.0.11 820 10/10/2022
3.0.10 811 10/6/2022
3.0.9 799 10/6/2022
3.0.8 806 10/6/2022
3.0.7 800 10/6/2022
3.0.6 809 10/5/2022
3.0.5 818 10/5/2022
3.0.4 808 10/5/2022
3.0.3 797 10/3/2022
3.0.2 793 9/30/2022
3.0.1 824 9/29/2022
2.0.17 836 9/29/2022
2.0.16 816 9/27/2022
2.0.15 846 9/27/2022
2.0.14 835 9/26/2022
2.0.13 829 9/26/2022
2.0.12 858 9/26/2022
2.0.11 865 9/25/2022
2.0.10 843 9/25/2022
2.0.9 866 9/22/2022
2.0.8 825 9/22/2022
2.0.6 825 9/20/2022
2.0.5 826 9/20/2022
2.0.4 817 9/20/2022
2.0.2 837 9/20/2022
2.0.1 918 9/13/2022
2.0.0 851 8/19/2022
1.1.24 881 7/30/2022
1.1.23 856 7/29/2022
1.1.22 852 7/29/2022
1.1.21 863 7/29/2022
1.1.20 826 7/29/2022
1.1.19 842 7/27/2022
1.1.17 880 7/27/2022
1.1.16 865 7/26/2022
1.1.15 851 7/25/2022
1.1.14 847 7/25/2022
1.1.13 882 7/22/2022
1.1.12 861 7/19/2022
1.1.11 858 7/19/2022
1.1.10 849 7/19/2022
1.1.9 865 7/19/2022
1.1.8 888 7/18/2022
1.1.7 840 7/18/2022
1.1.6 866 7/18/2022
1.1.5 904 7/17/2022
1.1.4 881 7/17/2022
1.1.3 954 7/17/2022
1.1.2 849 7/17/2022
1.1.0 878 7/17/2022
1.0.2 864 7/15/2022
1.0.1 886 7/15/2022
1.0.0 875 7/8/2022
0.10.7 881 7/7/2022
0.10.2 878 7/2/2022
0.10.1 892 7/1/2022
0.10.0 834 7/1/2022
0.9.10 865 6/20/2022
0.9.9 839 6/11/2022
0.9.7 859 6/9/2022
0.9.6 878 6/5/2022
0.9.5 851 6/3/2022
0.9.4 839 6/3/2022
0.9.3 836 6/3/2022