I am a beginner at EF.
Is manually changing data mapping in EF common practice?
For example i want to create GenericRepository but primary keys has different names CuctomerID, OrderID e.t.c
So I need edit mappings for those POCO classes.
So what I should do if tables structure updated periodically?
If I automatically update edmx and POCO files will that destroy all changes applied to POCO?
Changing names of properties in the designer for EDMX is common practice – that is mapping. When you update EDMX from database it should keep your changes unless you did some big change to the database.