🚀Welcome to the EfCoreUI Repository!
Empower your Visual Studio environment with EfCoreUI, a cutting-edge plugin designed to enhance your Entity Framework Core (EF Core) development experience. Seamlessly integrating into Visual Studio, EfCoreUI introduces a refined User Interface (UI) for EF Core commands, providing developers with powerful tools for database migrations and management.
Key Features:
-
Add Migration
-
Streamline your development process by effortlessly creating and managing migrations with a perfect blend of simplicity and efficiency.
1.Right click on Model data Project and click on Add Migration Item in Entity Framework core section.
2.Apply your settings
- See Your Command Result On Output Windows
-
-
Remove Last Migration:
- Maintain code clarity by easily removing the last created migration, ensuring a clean and efficient development process.
-
Generate SQL Script:
- Dynamically generate SQL scripts for your migrations, providing insights into the underlying changes in your database schema.
-
Update Database:
- Conduct a symphony of database updates by choosing and executing migrations, complete with autocompletion for elegantly named migration sequences.
-
Drop Database:
- Effortlessly drop databases, offering flexibility in your development environment.
-
Harmonize the Orchestra: Suggest Installing dotnet ef Command Line Tools:
- Enhance the development experience by suggesting the installation of dotnet ef command line tools, ensuring a seamless workflow for EF Core-related projects.
-
Chronicle Your Development Journey: Persist Selected Migrations and Startup Projects:
- Chronicle your selected migrations and startup projects, creating a narrative that seamlessly persists between dialogs and contributes to an uninterrupted development journey.
-
Architectural Brilliance: Generate DbContext from Existing Databases(coming soon):
- Sculpt a finely detailed DbContext by extracting its essence from existing databases, adorned with improved function structures for enhanced code organization.
Getting Started:
To install EfCoreUI directly from the Visual Studio Extensions menu, follow these simple steps:
-
Open Visual Studio:
- Launch your Visual Studio IDE.
-
Navigate to Extensions:
- Click on the "Extensions" menu at the top of the Visual Studio window.
-
Open Extension Manager:
- Select "Manage Extensions" from the dropdown menu.
-
Choose "Online" Category:
- In the Extension Manager, select the "Online" category on the left sidebar.
-
Search for EfCoreUI:
- In the search bar, type "EfCoreUI" and press Enter.
-
Locate and Install:
- Once EfCoreUI appears in the search results, click on it to view details. Then, click the "Download" or "Install" button to begin the installation process.
-
Restart Visual Studio:
- After the installation is complete, restart Visual Studio to apply the changes.
-
Verify Installation:
- To verify that EfCoreUI is successfully installed, navigate to the "Extensions" menu again, and you should now see EfCoreUI listed among your installed extensions.
Manual Installation:
If you prefer to install EfCoreUI using the extension's VSIX file, follow these steps:
-
Download EfCoreUI.vsix:
- Visit the following link to download the EfCoreUI.vsix file: EfCoreUI.vsix Download
-
Open Visual Studio:
- Launch your Visual Studio IDE.
-
Navigate to Extensions:
- Click on the "Extensions" menu at the top of the Visual Studio window.
-
Open Extension Manager:
- Select "Manage Extensions" from the dropdown menu.
-
Choose "Install from VSIX":
- In the Extension Manager, select the "Install from VSIX" option on the left sidebar.
-
Browse and Select EfCoreUI.vsix:
- Click the "Browse" button and navigate to the location where you downloaded the EfCoreUI.vsix file. Select the file.
-
Install EfCoreUI:
- Click the "Install" button to begin the installation process.
-
Restart Visual Studio:
- After the installation is complete, restart Visual Studio to apply the changes.
-
Verify Installation:
- To verify that EfCoreUI is successfully installed, navigate to the "Extensions" menu again, and you should now see EfCoreUI listed among your installed extensions.
Congratulations! You've successfully installed EfCoreUI. Begin enjoying the enhanced features it brings to your Entity Framework Core development workflow.
Contributing: We welcome contributions! Feel free to fork, submit pull requests, or open issues. Your feedback and contributions help us create a better development experience for the community.
Note: If you encounter this problem while working with the extension:
Run the following command in CMD:
dotnet tool install --global dotnet-ef
The Startup project
dropdown lists projects that meet the following criteria:
- Use
OutputType
set toExe
orWinExe
. - Contain a valid entry point (
Main
method).
Behavior Based on SDK:
- Projects using
Microsoft.NET.Sdk.Web
are implicitly considered runnable and do not require<OutputType>
explicitly set. - Projects using
Microsoft.NET.Sdk
default toLibrary
unless<OutputType>
is explicitly set toExe
orWinExe
.
The Migration project
dropdown includes projects that:
- Reference EF Core packages.
- Contain a valid
DbContext
class.
Support EfCoreUI Development!
🚀 If you find EfCoreUI helpful and wish to support ongoing development, consider making a donation! Your contributions go a long way in ensuring the continued improvement of this plugin.
Bitcoin Address for Donations:
1PSGBrgo4A8fHHugXME4XffFaTvibpYcUT
Your generosity fuels innovation and helps maintain EfCoreUI's high standards. Thank you for being a part of our community and supporting the development of tools that empower developers.
Happy coding, and thank you for your contribution!