EFCoreTerminalUI 1.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet tool install --global EFCoreTerminalUI --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local EFCoreTerminalUI --version 1.0.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=EFCoreTerminalUI&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package EFCoreTerminalUI --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
EF Core Terminal UI (efui)
EF Core migration işlemlerini yön tuşlarıyla yapan terminal arayüzü. dotnet ef ... komutlarını elle yazmana gerek kalmaz.
Kurulum
dotnet tool install --global EFCoreTerminalUI
Güncellemek için:
dotnet tool update --global EFCoreTerminalUI
Kaynaktan kurmak için:
cd EFCoreTerminalUI
dotnet pack -c Release
dotnet tool install --global --add-source ./nupkg EFCoreTerminalUI
Kullanım
Solution klasöründe:
efui # bulunduğun klasör
efui ../Proje # başka bir klasör
- İlk açılışta migration projesi (DbContext'in olduğu, ör.
Infrastructure) ve startup projesi (ör.WebApi) seçilir. Önerilen proje en üstte gelir. - Birden fazla DbContext varsa listeden seçersin.
- Seçimler
.efui.jsondosyasına kaydedilir, sonraki açılışlarda tekrar sorulmaz (değiştirmek için menüde Proje / DbContext değiştir).
Menü
| İşlem | Karşılığı |
|---|---|
| Add Migration | migrations add <ad> (istersen hemen database update) |
| Remove Last Migration | migrations remove; son migration uygulanmışsa veritabanından geri alıp siler (--force) |
| Update Database (son migration) | database update |
| Update Database (migration seç / geri al) | database update <migration> veya 0 |
| SQL Script oluştur | migrations script <from> <to> [--idempotent] -o dosya.sql |
| Drop Database | database drop --force (onay için DROP yazılır) |
Migration listesinde uygulananlar yeşil ✔, bekleyenler sarı ● ile gösterilir. Veritabanına bağlanılamazsa liste bağlantısız okunur ve durum ? olarak görünür.
Gereksinimler
- .NET 9 veya üzeri
dotnet-ef(yoksa açılışta yüklemeyi teklif eder)- Startup projesinde
Microsoft.EntityFrameworkCore.Designpaketi
Lisans
MIT. Topluluk aracıdır; Microsoft ile bağlantısı yoktur.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.