MS FS & BE Database Integration and Management Flashcards
(7 cards)
What is the primary purpose of Object-Relational Mapping (ORM)?
To translate data between objects in code and relational databases.
ORM helps translate data between objects in an application and relational database tables, simplifying database interactions.
ORM techniques and EF Core simplify backend development by enabling smoother database interactions, reducing code complexity, and supporting application growth.
What is the purpose of SQL?
To manage and retrieve data in relational databases efficiently
SQL stands for Structured Query Language.
What is the primary issue that ORM addresses?
The mismatch between object-oriented programming data representation and relational database storage
This reduces the risk of errors and complexity in managing data.
ORM links objects in code with relational tables.
What is EF Core?
Entity Framework Core (EF Core) is an open-source ORM tool in the .NET ecosystem
EF Core allows developers to interact with relational databases using C# objects.
What is one key feature of EF Core?
LINQ (Language Integrated Query)
LINQ integrates query capabilities directly into C# code.
What does database migrations in EF Core allow?
The database schema to evolve alongside application development
This includes supporting changes like table additions or modifications.
What is change tracking in EF Core?
Automatically tracks changes made to objects
This streamlines updating the database when data changes.