Jan 12, 2018 09:28 AM|DA924|LINK
When creating model classes in a project that is using code-first with E-F, does E-F only create database entities for classes that you have defined a DbSet for?
It's called the virtual model, which are classes/objects that represent the tables of the database and are used for CRUD operations with the database. Another name for the classes/objects in the virtual model is called the persistence model.
Custom objects that you need that are not part of the persistence model should not be placed in the persistence model used by the ORM, IMO. You can create a VS project folder, a namespace -- namespace separation, and place the custom class/object there.