Rystem.RepositoryFramework.MigrationTools 1.1.9

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

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

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.12 0 5/23/2024
6.0.11 67 5/20/2024
6.0.9 73 5/20/2024
6.0.7 71 5/18/2024
6.0.6 56 5/10/2024
6.0.5 58 5/10/2024
6.0.4 114 4/3/2024
6.0.3 125 3/25/2024
6.0.2 144 3/11/2024
6.0.0 389 11/21/2023
6.0.0-rc.6 83 10/25/2023
6.0.0-rc.5 62 10/25/2023
6.0.0-rc.4 55 10/23/2023
6.0.0-rc.3 51 10/19/2023
6.0.0-rc.2 56 10/18/2023
6.0.0-rc.1 54 10/16/2023
5.0.20 374 9/25/2023
5.0.19 373 9/10/2023
5.0.18 377 9/6/2023
5.0.17 362 9/6/2023
5.0.16 371 9/5/2023
5.0.15 369 9/5/2023
5.0.14 325 9/5/2023
5.0.13 371 9/1/2023
5.0.12 362 8/31/2023
5.0.11 317 8/30/2023
5.0.10 376 8/29/2023
5.0.9 400 8/24/2023
5.0.8 405 8/24/2023
5.0.7 387 8/23/2023
5.0.6 406 8/21/2023
5.0.5 399 8/21/2023
5.0.4 405 8/16/2023
5.0.3 489 8/2/2023
5.0.2 511 8/2/2023
5.0.1 497 8/1/2023
5.0.0 468 7/31/2023
4.1.26 499 7/20/2023
4.1.25 476 7/16/2023
4.1.24 481 6/13/2023
4.1.23 418 6/13/2023
4.1.22 479 5/30/2023
4.1.21 481 5/20/2023
4.1.20 315,510 4/19/2023
4.1.19 95,160 3/20/2023
4.1.18 545 3/20/2023
4.1.17 557 3/16/2023
4.1.16 556 3/16/2023
4.1.15 531 3/15/2023
4.1.14 1,084 3/9/2023
4.1.13 542 3/7/2023
4.1.12 568 2/10/2023
4.1.11 609 1/26/2023
4.1.10 634 1/22/2023
4.1.9 638 1/20/2023
4.1.8 657 1/18/2023
4.1.7 609 1/18/2023
4.1.6 649 1/17/2023
4.1.1 600 1/4/2023
4.1.0 646 1/1/2023
3.1.5 649 12/21/2022
3.1.3 624 12/12/2022
3.1.2 611 12/7/2022
3.1.1 633 12/7/2022
3.1.0 659 12/2/2022
3.0.29 681 12/1/2022
3.0.28 666 12/1/2022
3.0.27 680 11/23/2022
3.0.25 692 11/23/2022
3.0.24 661 11/18/2022
3.0.23 670 11/18/2022
3.0.22 682 11/15/2022
3.0.21 681 11/14/2022
3.0.20 717 11/13/2022
3.0.19 679 11/2/2022
3.0.18 700 11/2/2022
3.0.17 718 10/29/2022
3.0.16 736 10/29/2022
3.0.15 673 10/29/2022
3.0.14 711 10/24/2022
3.0.13 684 10/24/2022
3.0.12 741 10/17/2022
3.0.11 754 10/10/2022
3.0.10 744 10/6/2022
3.0.9 734 10/6/2022
3.0.8 739 10/6/2022
3.0.7 732 10/6/2022
3.0.6 744 10/5/2022
3.0.5 745 10/5/2022
3.0.4 744 10/5/2022
3.0.3 729 10/3/2022
3.0.2 730 9/30/2022
3.0.1 756 9/29/2022
2.0.17 768 9/29/2022
2.0.16 745 9/27/2022
2.0.15 778 9/27/2022
2.0.14 770 9/26/2022
2.0.13 762 9/26/2022
2.0.12 789 9/26/2022
2.0.11 782 9/25/2022
2.0.10 778 9/25/2022
2.0.9 800 9/22/2022
2.0.8 761 9/22/2022
2.0.6 761 9/20/2022
2.0.5 762 9/20/2022
2.0.4 748 9/20/2022
2.0.2 769 9/20/2022
2.0.1 840 9/13/2022
2.0.0 784 8/19/2022
1.1.24 812 7/30/2022
1.1.23 788 7/29/2022
1.1.22 785 7/29/2022
1.1.21 794 7/29/2022
1.1.20 760 7/29/2022
1.1.19 759 7/27/2022
1.1.17 810 7/27/2022
1.1.16 798 7/26/2022
1.1.15 776 7/25/2022
1.1.14 773 7/25/2022
1.1.13 809 7/22/2022
1.1.12 775 7/19/2022
1.1.11 773 7/19/2022
1.1.10 778 7/19/2022
1.1.9 798 7/19/2022
1.1.8 818 7/18/2022
1.1.7 771 7/18/2022
1.1.6 796 7/18/2022
1.1.5 816 7/17/2022
1.1.4 813 7/17/2022
1.1.3 880 7/17/2022
1.1.2 783 7/17/2022
1.1.0 809 7/17/2022
1.0.2 794 7/15/2022
1.0.1 817 7/15/2022
1.0.0 805 7/8/2022
0.10.7 813 7/7/2022
0.10.2 807 7/2/2022
0.10.1 819 7/1/2022
0.10.0 765 7/1/2022
0.9.10 795 6/20/2022
0.9.9 765 6/11/2022
0.9.7 784 6/9/2022
0.9.6 804 6/5/2022
0.9.5 779 6/3/2022
0.9.4 767 6/3/2022
0.9.3 765 6/3/2022