I was reading a book learning API in .NET when I ran into the expression "persistence ignorant", I don't know what it means! The text is as follow:
What’s the Distinction?
Let’s step through each of those classes:
• Model: Represents the internal domain data of our application (the M in MVC).
• Data Transfer Objects (DTOs): Are the representations of our Domain Models to our external consumers, meaning that we don’t expose internal implementation detail (our Models) to external concerns. This has multiple benefits as we’ll discuss later.
• Data Access (aka DB Context): Takes our Models and represents (or “mediates”) them down to a specific persistence layer (e.g., PostgreSQL, SQL Server, etc.). Going forward, I’ll refer to our Data Access class as a “
DB Context
” which is a technology-specific term taken from “Entity Framework Core” – don’t worry; more on that later .• Repository: Provides a technology agnostic (or persistence ignorant) view of our permanently stored data to our application.
So Would anyone explain it to me that what the expression persistence ignorant means?