Last active
January 16, 2020 11:11
-
-
Save georgecatalin/09942ac0c2e5e8b95191b68062db94f2 to your computer and use it in GitHub Desktop.
Commands in Package Manager Console of Visual Studio associated with Entity Framework
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
enable-migration | |
!!! Asigura-te ca este setat proiectul care contine referinta la Entity Framework in console | |
add-migration | |
!!! Creeaza clasele si codul .cs pentru migrarea datelor. Se utilizeaza un API C# care descrie in C# ce va aparea in SQL mai tarziu | |
update-database -script !!! Creeaza un fisier care contine codul T-SQL pentru construirea bazei de date si a tabelelor conform migrarii | |
ori | |
update-database -verbose !!! Efectueaza modificarile conform cu informatiile de migrare direct in baza de date. | |
******** | |
install-package entityframework !!! Instaleaza pachetul Entity Framework |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment