3
I started using EF a short time ago, so I don’t know much about it.
I would like to know if I have how to make a comparison of my class with the database using EF.
Example of comparison:
Staff Class has the following fields:
Code, Name, Zip code, Telephone, City.
In the database in the Employees table, it has the following fields:
Code, Name, Zip code, Telephone, City, State
I wanted an Entity routine that would compare my Employees class to the Employees table, and return me what fields the bank owns, and which my class does not own, and vice versa (class owns, bank does not own).
You know if it is possible to do this, or if the EF only creates the database according to the mapping I did in my class?