On what layer do I put it? Model control or view?
ADO.NET Entity Data Model which connects to the database.
On what layer do I put it? Model control or view?
ADO.NET Entity Data Model which connects to the database.
In a well-structured project, the layer responsible for accessing data is in Infra.Data.
Youcanuse DDD to create an application following a software modeling approach.
See the full example of the DDD model here .