Rystem.RepositoryFramework.MigrationTools 3.0.25

There is a newer version of this package available.
See the version list below for details.
dotnet add package Rystem.RepositoryFramework.MigrationTools --version 3.0.25                
NuGet\Install-Package Rystem.RepositoryFramework.MigrationTools -Version 3.0.25                
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="3.0.25" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Rystem.RepositoryFramework.MigrationTools --version 3.0.25                
#r "nuget: Rystem.RepositoryFramework.MigrationTools, 3.0.25"                
#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.
// Install Rystem.RepositoryFramework.MigrationTools as a Cake Addin
#addin nuget:?package=Rystem.RepositoryFramework.MigrationTools&version=3.0.25

// Install Rystem.RepositoryFramework.MigrationTools as a Cake Tool
#tool nuget:?package=Rystem.RepositoryFramework.MigrationTools&version=3.0.25                

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 a repository (where the data will be migrated) and a migration source (where the data is)

.AddRepository<MigrationUser, MigrationTo>()
.AddMigrationSource<MigrationUser, MigrationFrom>(x => x.NumberOfConcurrentInserts = 2)

Now you may use the interface in DI

IMigrationManager<MigrationUser> migrationService

and let the sorcery happen

var migrationResult = await _migrationService.MigrateAsync(x => x.Id!, true);

Sample with a State as TState and a string as TKey

.AddRepository<IperMigrationUser, string, State, IperMigrationTo>()
.AddMigrationSource<IperMigrationUser, string, State, IperMigrationFrom>(x => x.NumberOfConcurrentInserts = 2, x => x)

Now you may use the interface in DI

IMigrationManager<MigrationUser, string, State<T>> migrationService

and let the sorcery happen

var migrationResult = await _migrationService.MigrateAsync(x => x.Id!, true);

Sample with a bool as TState by default and a string as TKey

.AddRepository<IperMigrationUser, string, IperMigrationTo>()
.AddMigrationSource<IperMigrationUser, string, IperMigrationFrom>(x => x.NumberOfConcurrentInserts = 2)

Now you may use the interface in DI

IMigrationManager<MigrationUser, string> migrationService

and let the sorcery happen

var migrationResult = await _migrationService.MigrateAsync(x => x.Id!, true);
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.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
6.0.24 73 9/11/2024
6.0.23 78 7/18/2024
6.0.21 91 6/18/2024
6.0.20 79 6/16/2024
6.0.19 80 6/14/2024
6.0.18 75 6/14/2024
6.0.17 75 6/14/2024
6.0.16 76 6/10/2024
6.0.15 84 6/9/2024
6.0.14 76 5/24/2024
6.0.13 74 5/23/2024
6.0.12 62 5/23/2024
6.0.11 87 5/20/2024
6.0.9 89 5/20/2024
6.0.7 87 5/18/2024
6.0.6 70 5/10/2024
6.0.5 69 5/10/2024
6.0.4 121 4/3/2024
6.0.3 134 3/25/2024
6.0.2 154 3/11/2024
6.0.0 401 11/21/2023
6.0.0-rc.6 89 10/25/2023
6.0.0-rc.5 69 10/25/2023
6.0.0-rc.4 62 10/23/2023
6.0.0-rc.3 56 10/19/2023
6.0.0-rc.2 64 10/18/2023
6.0.0-rc.1 60 10/16/2023
5.0.20 380 9/25/2023
5.0.19 384 9/10/2023
5.0.18 385 9/6/2023
5.0.17 371 9/6/2023
5.0.16 379 9/5/2023
5.0.15 375 9/5/2023
5.0.14 331 9/5/2023
5.0.13 380 9/1/2023
5.0.12 370 8/31/2023
5.0.11 323 8/30/2023
5.0.10 385 8/29/2023
5.0.9 406 8/24/2023
5.0.8 411 8/24/2023
5.0.7 392 8/23/2023
5.0.6 413 8/21/2023
5.0.5 406 8/21/2023
5.0.4 412 8/16/2023
5.0.3 494 8/2/2023
5.0.2 519 8/2/2023
5.0.1 502 8/1/2023
5.0.0 474 7/31/2023
4.1.26 506 7/20/2023
4.1.25 485 7/16/2023
4.1.24 484 6/13/2023
4.1.23 421 6/13/2023
4.1.22 483 5/30/2023
4.1.21 487 5/20/2023
4.1.20 315,522 4/19/2023
4.1.19 95,167 3/20/2023
4.1.18 548 3/20/2023
4.1.17 562 3/16/2023
4.1.16 560 3/16/2023
4.1.15 538 3/15/2023
4.1.14 1,089 3/9/2023
4.1.13 545 3/7/2023
4.1.12 575 2/10/2023
4.1.11 615 1/26/2023
4.1.10 638 1/22/2023
4.1.9 644 1/20/2023
4.1.8 663 1/18/2023
4.1.7 615 1/18/2023
4.1.6 655 1/17/2023
4.1.1 605 1/4/2023
4.1.0 651 1/1/2023
3.1.5 654 12/21/2022
3.1.3 631 12/12/2022
3.1.2 616 12/7/2022
3.1.1 640 12/7/2022
3.1.0 668 12/2/2022
3.0.29 688 12/1/2022
3.0.28 673 12/1/2022
3.0.27 687 11/23/2022
3.0.25 697 11/23/2022
3.0.24 666 11/18/2022
3.0.23 675 11/18/2022
3.0.22 687 11/15/2022
3.0.21 686 11/14/2022
3.0.20 722 11/13/2022
3.0.19 684 11/2/2022
3.0.18 705 11/2/2022
3.0.17 725 10/29/2022
3.0.16 741 10/29/2022
3.0.15 680 10/29/2022
3.0.14 718 10/24/2022
3.0.13 691 10/24/2022
3.0.12 748 10/17/2022
3.0.11 761 10/10/2022
3.0.10 749 10/6/2022
3.0.9 741 10/6/2022
3.0.8 746 10/6/2022
3.0.7 741 10/6/2022
3.0.6 751 10/5/2022
3.0.5 750 10/5/2022
3.0.4 749 10/5/2022
3.0.3 736 10/3/2022
3.0.2 736 9/30/2022
3.0.1 764 9/29/2022
2.0.17 776 9/29/2022
2.0.16 752 9/27/2022
2.0.15 783 9/27/2022
2.0.14 777 9/26/2022
2.0.13 769 9/26/2022
2.0.12 797 9/26/2022
2.0.11 789 9/25/2022
2.0.10 787 9/25/2022
2.0.9 808 9/22/2022
2.0.8 767 9/22/2022
2.0.6 767 9/20/2022
2.0.5 770 9/20/2022
2.0.4 755 9/20/2022
2.0.2 781 9/20/2022
2.0.1 851 9/13/2022
2.0.0 791 8/19/2022
1.1.24 818 7/30/2022
1.1.23 794 7/29/2022
1.1.22 791 7/29/2022
1.1.21 800 7/29/2022
1.1.20 764 7/29/2022
1.1.19 765 7/27/2022
1.1.17 816 7/27/2022
1.1.16 805 7/26/2022
1.1.15 783 7/25/2022
1.1.14 779 7/25/2022
1.1.13 815 7/22/2022
1.1.12 782 7/19/2022
1.1.11 779 7/19/2022
1.1.10 784 7/19/2022
1.1.9 804 7/19/2022
1.1.8 824 7/18/2022
1.1.7 777 7/18/2022
1.1.6 803 7/18/2022
1.1.5 822 7/17/2022
1.1.4 820 7/17/2022
1.1.3 888 7/17/2022
1.1.2 790 7/17/2022
1.1.0 817 7/17/2022
1.0.2 802 7/15/2022
1.0.1 824 7/15/2022
1.0.0 811 7/8/2022
0.10.7 819 7/7/2022
0.10.2 815 7/2/2022
0.10.1 827 7/1/2022
0.10.0 773 7/1/2022
0.9.10 803 6/20/2022
0.9.9 771 6/11/2022
0.9.7 790 6/9/2022
0.9.6 811 6/5/2022
0.9.5 787 6/3/2022
0.9.4 775 6/3/2022
0.9.3 771 6/3/2022