MS FS & BE Database Integration and Management Flashcards

(7 cards)

1
Q

What is the primary purpose of Object-Relational Mapping (ORM)?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the purpose of SQL?

A

To manage and retrieve data in relational databases efficiently

SQL stands for Structured Query Language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the primary issue that ORM addresses?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is EF Core?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is one key feature of EF Core?

A

LINQ (Language Integrated Query)

LINQ integrates query capabilities directly into C# code.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does database migrations in EF Core allow?

A

The database schema to evolve alongside application development

This includes supporting changes like table additions or modifications.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is change tracking in EF Core?

A

Automatically tracks changes made to objects

This streamlines updating the database when data changes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly