playing with dotnet core 39 - dataStorage6 implementing a RAM repository interface

Subscribers:
9,750
Published on ● Video Link: https://www.youtube.com/watch?v=xOY0eJCEwZQ



Duration: 34:38
9 views
0


First or default syntax
(i cannot use angled brackes so i replaced it with square brackets)
=] means such that
Enumerable.FirstOrDefault(listObject =] listObject.property == someCondition );


------------------ Useful Links ------------------------------------
PragimTech Kudvenkat List view
https://www.youtube.com/watch?v=nHAMDUtiV6w

Displaying a custom list using a for loop
https://www.c-sharpcorner.com/article/displaying-customers-list-inside-asp-net-core-3-0-razor-pages-web-application/

List types
https://www.c-sharpcorner.com/article/displaying-customers-list-inside-asp-net-core-3-0-razor-pages-web-application/

IEnumerable types
https://www.c-sharpcorner.com/article/displaying-customers-list-inside-asp-net-core-3-0-razor-pages-web-application/

ICollection types
https://docs.microsoft.com/en-us/dotnet/api/system.collections.generic.icollection-1?view=net-6.0

Dbset Types
https://docs.microsoft.com/en-us/dotnet/api/microsoft.entityframeworkcore.dbset-1?view=efcore-6.0

razor pages foreach loop
https://stackoverflow.com/questions/58998293/razor-pages-foreach-loop-through-list-to-get-data-to-display-on-razor-view

model validation
https://docs.microsoft.com/en-us/aspnet/core/mvc/models/validation?view=aspnetcore-6.0

this keyword
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/this

FirstOrDefault Method for IEnumerables
https://docs.microsoft.com/en-us/dotnet/api/system.linq.enumerable.firstordefault?view=net-6.0


------------------ Video Sections --------------------------------
Chapters:
0:00 introduction
0:39 a few notes on removing this. keyword during debugging, adding it back
1:57 implementing repositories in RAM
4:26 performing dependency injection of the singleton list
9:05 create methods
12:11 a SaveChanges function or method, similar to EF Core
16:26 FirstOrDefault for getComponent or deleteComponent
23:54 clearAll Implementation
27:37 update Component implementation
32:13 some debugging at compile time
32:40 Conclusion

---------------------[Playlists and Relevant Github Repositories]----------------------------------------------

Fluid Mechanics and Git Repos:
https://www.youtube.com/playlist?list=PLhPfNw4V4_YSmdAXc6J0XOSQ1b27qsMGt
https://github.com/theodoreOnzGit/OpenFoam_heatTrf_YouTube

Petroleum Downstream Crash Course Playlist:
https://www.youtube.com/playlist?list=PLhPfNw4V4_YQ13CnhacUqEVk-tZlU4ISE

OpenFOAM for Windows 10 Beginner Playlist and some Git Repos
https://www.youtube.com/playlist?list=PLhPfNw4V4_YRhBU4IqSaToQ8_X543YQsZ
https://github.com/theodoreOnzGit/laminar_BL_OpenFOAM

OpenFOAM Intermediate Playlist and some Git Repos
https://www.youtube.com/playlist?list=PLhPfNw4V4_YSpWX6mSOlwWEOKVa6i_iuE
https://github.com/theodoreOnzGit/thin_pipeflow_snappyHexMesh

OpenFOAM Heat Transfer Playlist and GitHub Repo
https://www.youtube.com/playlist?list=PLhPfNw4V4_YR2Qa3Q9-AzNSF2J9Dc4_qT
https://github.com/theodoreOnzGit/OpenFoam_heatTrf_YouTube

Radiation Heat Transfer Learning Journal and Git Repos:
https://www.youtube.com/watch?v=uUzh9kh-WTo&list=PLhPfNw4V4_YRUUVUydQp-n6U-7uu1kJof
https://github.com/theodoreOnzGit/heatTransferTheory_YouTube

Convection Boundary Layer and git Repos:
https://www.youtube.com/playlist?list=PLhPfNw4V4_YR9pRBpp101Mkuds49vjQ63
https://github.com/theodoreOnzGit/heatTransferTheory_YouTube

Turbulence Modelling Playlist
https://www.youtube.com/watch?v=F_Rxv9uMM3g&list=PLhPfNw4V4_YSnbYkJIBQ1kRN06Mmxe2Be
https://github.com/theodoreOnzGit/turbulenceModelling

LabView Frequency Analysis and Fun (playlist and git repo)
https://www.youtube.com/playlist?list=PLhPfNw4V4_YQYE7XqTisMBkpm7gqNS_nl
https://github.com/theodoreOnzGit/Ted_labview_YouTube

Control Systems and Frequency Response
https://www.youtube.com/watch?v=qHY6y7JmB2U&list=PLhPfNw4V4_YRUuWnrtClovPKxU_gJOXH-
https://github.com/theodoreOnzGit/matlabFrequencyResponse.git

OpenFOAM C++
https://github.com/theodoreOnzGit/C-_YouTube_OpenFoam
https://www.youtube.com/playlist?list=PLhPfNw4V4_YT9OgqS7ZPlot_Ucxzc6pQJ

OpenFOAM Bash
https://github.com/theodoreOnzGit/Bash_OpenFOAM_YouTube
https://www.youtube.com/playlist?list=PLhPfNw4V4_YT5zjBhfj5Hj4r4D5eXilcU

Basic Samba
https://www.youtube.com/playlist?list=PLhPfNw4V4_YQuWJLufBUpNplitReZX0fB
https://github.com/theodoreOnzGit/sambaVideos

Manjaro Tips and Tricks
https://www.youtube.com/playlist?list=PLhPfNw4V4_YQuyXBfJxAvzHJTl0UiWx3h

lammps and Discrete Element Modelling (DEM)
https://www.youtube.com/playlist?list=PLhPfNw4V4_YTdRlnLiu2OUXeTf5ZNVQ9E

playing with dotnet core
https://www.youtube.com/playlist?list=PLhPfNw4V4_YQSTR8sqz0aRVzWlQBq3QUw
dotnet core github repo
https://github.com/theodoreOnzGit/dotnetCoreYoutube




Other Videos By Theo Ong Science and Engineering


2022-04-08playing with dotnet core 49 - dataStorage16 mySql connectionReuse error my guess of the bug cause
2022-04-08playing with dotnet core 48 - dataStorage15 debugging duplicate key ID errors in EFCore
2022-04-08playing with dotnet core 47 - dataStorage14 implmentation of CRUD create drop APIs and debugging
2022-04-07playing with dotnet core 46 - dataStorage13 Implementing MariaDb Repository Methods
2022-04-07playing with dotnet core 45 - dataStorage12 Configuring MariaDb ServerVersion and Connection String
2022-04-07playing with dotnet core 44 - dataStorage11 configuring AppDbContext based on MariaDbServerVersion
2022-04-07playing with dotnet core 43 - dataStorage10 going thru documentation of DbContext family of classes
2022-04-07playing with dotnet core 42 - dataStorage9 introduction to EFCore and dBContext family of classes
2022-04-06playing with dotnet core 41 - dataStorage8 testing delete and update operations for Repository RAM
2022-04-06playing with dotnet core 40 - dataStorage7 testing Repository RAM Implementation
2022-04-06playing with dotnet core 39 - dataStorage6 implementing a RAM repository interface
2022-04-06playing with dotnet core 38 - dataStorage5 debugging the form and adding a repository interface
2022-04-06playing with dotnet core 37 - dataStorage4 adding forms for user input (and some bugs)
2022-04-05playing with dotnet core 36 - dataStorage3 injecting and testing a object with a list as singleton
2022-04-05playing with dotnet core 35 - dataStorage2 working with lists and preparing it as a singleton
2022-04-05playing with dotnet core 34 - dataStorage1 roadmap to learning asp dotnet core databases and entity
2022-04-05playing with dotnet core 33 - databases part 5 add user, drop user and grant privileges on mariadb
2022-03-31manjaro tricks - stream video from one pc to another using obs ndi
2022-03-31manjaro tricks - testing out vim nerdtree
2022-03-30manjaro tricks - add line numbering to vim
2022-03-28playing with dotnet core 32 - using dotnet cli to install remove and list packages in linux



Tags:
Engineering
Math
Science
Thermodynamics
Fluid Mechanics
Chemical
Nuclear
Chemical Potential
Fugacity
Enthalpy
Internal Energy
Entropy
First Law
Second law
Gibbs Free Energy
Hemholtz free energy
heat capacity
constant volume
constant pressure
tutorial
petroleum
oil
refinery
downstream
crude
jet
gasoline
gasoil
diesel
computational fluid dynamics
CFD
OpenFoam
Open
Foam
Fluid mechanics
heat transfer
turbulence
conduction
convection
radiation
Linux
Mint
Ubuntu
Manjaro