N
N
Nik Faraday2022-01-10 17:04:44
C++ / C#
Nik Faraday, 2022-01-10 17:04:44

How does Entity Framework Core store data?

Hello!

I want to make a selection from the database using some criteria to check users and return some list with the corresponding users. During this, I was wondering how does EF Core store data about these users?

Purely technically, data is stored in database tables, and when we use it, it moves to RAM, everyone knows that. But that's why there is a database to make a selection from it, and not store 100,500 users in your RAM.

How is it, where and how is the database data stored when using EF?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily Bannikov, 2022-01-10
@NikFaraday

Entity Framework Core does not store data.
Only the result of the query execution is loaded into the RAM (the same 100500 users, if the selection was not limited)
When you make a new selection, they will be loaded again.
Computers have not yet learned to work without RAM.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question