Ensync.SqlServer
1.0.4-alpha
See the version list below for details.
dotnet tool install --global Ensync.SqlServer --version 1.0.4-alpha
dotnet new tool-manifest
dotnet tool install --local Ensync.SqlServer --version 1.0.4-alpha
#tool dotnet:?package=Ensync.SqlServer&version=1.0.4-alpha&prerelease
nuke :add-package Ensync.SqlServer --version 1.0.4-alpha
This is a library and command-line tool to merge C# entity classes to SQL Server tables -- code-first entity development without migrations.
Getting Started
- Install the ensync tool:
dotnet tool install -g Ensync.SqlServer
- Navigate to a C# project directory in a command line window and type
ensyncwith no arguments.
Why?
This is a reboot of my ModelSync project, to break from the NETStandard2 dependency, refactor the diff engine with fresh eyes, and to rebuild all the tooling. The long term vision is to have a WPF app remake of ModelSync UI.
I like code-first database development, but I never made peace with EF migrations. I find them way too fussy and complicated. They interefere with database development flow in my opinion. I'm looking for a more fluid and effortless experience around entity development. That's what this project is about.
A "fluid" experience does come with a trade-off, however. In a team environment, this library is not intended for merging to a local database. Local database merging works, but the generated SQL scripts are run and discarded, not saved as code in your repository.
For that reason, in team scenarios, it works best to merge to shared databases.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. 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. net9.0 was computed. 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. |
This package has no dependencies.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.12-alpha | 229 | 11/27/2023 |
| 1.0.11-alpha | 117 | 11/27/2023 |
| 1.0.10-alpha | 106 | 11/25/2023 |
| 1.0.8-alpha | 121 | 11/22/2023 |