Skip to main content

Entity Framework Core: Notes

Entity Framework - Source: https://static.gunnarpeipman.com/wp-content/uploads/2019/12/ef-core-featured.png.webp

Entity Framework is [WHAT] an object-relational mapper [WHY] enabling .NET developer to work with relational data using domain-specific object.

Entity frameworkd documentation


dotnet tool update --global dotnet-ef

dotnet ef migrations : 
dotnet ef database update : 

Update dotnet-ef tool

PS C:\Users\tuyen> dotnet tool update --global dotnet-ef
Tool 'dotnet-ef' was successfully updated from version '6.0.9' to version '6.0.10'.
PS C:\Users\tuyen> dotnet ef --version
Entity Framework Core .NET Command-line Tools
6.0.10
PS C:\Users\tuyen>

Popular posts from this blog

git for Windows: notes from the field

Git for Windows

Linux command: Check Current Shell

What is your current shell ?

RHEL: Install MySQL

[tuyendq@DangQuocTuyen ~]$ sudo yum list mysql Loaded plugins: product-id, search-disabled-repos, subscription-manager Error: No matching Packages to list [tuyendq@DangQuocTuyen ~]$ sudo yum install mysql Loaded plugins: product-id, search-disabled-repos, subscription-manager Resolving Dependencies --> Running transaction check ---> Package mariadb.x86_64 1:5.5.60-1.el7_5 will be installed --> Processing Dependency: mariadb-libs(x86-64) = 1:5.5.60-1.el7_5 for package: 1:mariadb-5.5.60-1.el7_5.x86_64 --> Running transaction check ---> Package mariadb-libs.x86_64 1:5.5.60-1.el7_5 will be installed --> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================= Package Arch Version Repository Size ================================...