filmov
tv
playing with dotnet core 47 - dataStorage14 implmentation of CRUD create drop APIs and debugging

Показать описание
We implemented
updateComponent using :
var entityAttached = AppDbContext.DbSet.Attach(entity);
entityAttached.State = Microsoft.EntityFrameworkCore.EntityState.Modified;
AppdbContext.SaveChanges();
------------------ Useful Links ------------------------------------
Giving Credit to Kudvenkat pragim tech
DbSet Attach Method
DbContext.SaveChanges()
DbContext.Database.EnsureCreated()
------------------ Video Sections --------------------------------
Chapters:
0:00 introduction
0:21 clearAll implementation
5:00 updateComponent implementation
11:10 Dependency Injection for ComponentRepoMariaDb and then injecting ComponentRepoMariaDb
16:13 we need to create our database first
18:23 we normally create databases and tables using migrations, but it's more complex
21:40 creating and deleting databases without migrations, creating and dropping APIs
22:16 using create and drop APIs for database creation
34:16 duplicate primaryKey bug
---------------------[Playlists and Relevant Github Repositories]----------------------------------------------
Fluid Mechanics and Git Repos:
Petroleum Downstream Crash Course Playlist:
OpenFOAM for Windows 10 Beginner Playlist and some Git Repos
OpenFOAM Intermediate Playlist and some Git Repos
OpenFOAM Heat Transfer Playlist and GitHub Repo
Radiation Heat Transfer Learning Journal and Git Repos:
Convection Boundary Layer and git Repos:
Turbulence Modelling Playlist
LabView Frequency Analysis and Fun (playlist and git repo)
Control Systems and Frequency Response
OpenFOAM C++
OpenFOAM Bash
Basic Samba
Manjaro Tips and Tricks
lammps and Discrete Element Modelling (DEM)
playing with dotnet core
dotnet core github repo
updateComponent using :
var entityAttached = AppDbContext.DbSet.Attach(entity);
entityAttached.State = Microsoft.EntityFrameworkCore.EntityState.Modified;
AppdbContext.SaveChanges();
------------------ Useful Links ------------------------------------
Giving Credit to Kudvenkat pragim tech
DbSet Attach Method
DbContext.SaveChanges()
DbContext.Database.EnsureCreated()
------------------ Video Sections --------------------------------
Chapters:
0:00 introduction
0:21 clearAll implementation
5:00 updateComponent implementation
11:10 Dependency Injection for ComponentRepoMariaDb and then injecting ComponentRepoMariaDb
16:13 we need to create our database first
18:23 we normally create databases and tables using migrations, but it's more complex
21:40 creating and deleting databases without migrations, creating and dropping APIs
22:16 using create and drop APIs for database creation
34:16 duplicate primaryKey bug
---------------------[Playlists and Relevant Github Repositories]----------------------------------------------
Fluid Mechanics and Git Repos:
Petroleum Downstream Crash Course Playlist:
OpenFOAM for Windows 10 Beginner Playlist and some Git Repos
OpenFOAM Intermediate Playlist and some Git Repos
OpenFOAM Heat Transfer Playlist and GitHub Repo
Radiation Heat Transfer Learning Journal and Git Repos:
Convection Boundary Layer and git Repos:
Turbulence Modelling Playlist
LabView Frequency Analysis and Fun (playlist and git repo)
Control Systems and Frequency Response
OpenFOAM C++
OpenFOAM Bash
Basic Samba
Manjaro Tips and Tricks
lammps and Discrete Element Modelling (DEM)
playing with dotnet core
dotnet core github repo