vault backup: 2025-02-23 18:22:54
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
A really quick overview
|
||||
1. A class that initializes a service
|
||||
2. A class that simply uses a service
|
||||
3. A class that uses more than one similar services
|
||||
4. A class that uses an interface as a service
|
||||
5. Two classes that use that interface as a service
|
||||
6. An abstract class...
|
||||
|
||||
Ali Explaining the last part of the DI Project
|
||||
|
||||
Databases
|
||||
|
||||
Microsoft SQL Server
|
||||
|
||||
Entity Framework Core
|
||||
|
||||
ORM - Object Relational Mapper
|
||||
|
||||
Code First vs Database First
|
||||
|
||||
DbContext -> used as:
|
||||
+ A bridge between your C# code and the database.
|
||||
+ A session that manages all operations for a specific unit of work.
|
||||
+ A container that holds your entity sets (tables).
|
||||
|
||||
We Need a DbContext in some controllers
|
||||
|
||||
Where does the initialization happen?
|
||||
|
||||
Next Steps
|
||||
|
||||
Future Plans...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user