Ensync.Attributes
8.0.0
dotnet add package Ensync.Attributes --version 8.0.0
NuGet\Install-Package Ensync.Attributes -Version 8.0.0
<PackageReference Include="Ensync.Attributes" Version="8.0.0" />
paket add Ensync.Attributes --version 8.0.0
#r "nuget: Ensync.Attributes, 8.0.0"
// Install Ensync.Attributes as a Cake Addin #addin nuget:?package=Ensync.Attributes&version=8.0.0 // Install Ensync.Attributes as a Cake Tool #tool nuget:?package=Ensync.Attributes&version=8.0.0
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
ensync
with 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. |
-
net8.0
- No dependencies.
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 |
---|---|---|
8.0.0 | 252 | 11/20/2023 |