DotnetLegacyMigrator helps teams modernize older .NET applications by translating legacy data access patterns into Entity Framework Core code that runs on .NET 9.
- Typed DataSets
- LINQ to SQL
- NHibernate
.hbm.xml
mappings - Additional legacy frameworks planned for future support
-
Install the
.NET 9.0.303 SDK
. If it's not installed, you can add it locally with:curl -L https://dot.net/v1/dotnet-install.sh -o dotnet-install.sh bash dotnet-install.sh -v 9.0.303 export PATH="$HOME/.dotnet:$PATH"
-
Clone the repository:
git clone https://github.com/your-org/DotnetLegacyMigrator.git cd DotnetLegacyMigrator
-
Run the CLI against an example project:
dotnet run --project src/Cli
Restore and build all projects in the solution:
dotnet build
Invoke the command-line interface to select an example and inspect the generated output:
dotnet run --project src/Cli
Contributions are welcome!
-
Fork the repository and create a new branch.
-
Run the tests and lint the Markdown before submitting:
dotnet test npx markdownlint README.md
-
Open a pull request describing your changes.