Let's say I have existing application with Db which was designed using EF Model First approach. I have Users
table, when client-code tries to read an entry from Users
table DAL logic projects EF entities to plain objects (which are just simple C# classes, let's call it UserEntry class).
Right now I should add Update method, which takes UserEntry class. So I am just wondering how should I track what fields were changed in UserEntry class?
Sure I can save all data, but I don't what such approach.
I can completely re-factor the existing solution, I can even remove UserEntry classes. What approach should I choose? Generate POCO classes using DbContext generator or for example use EF Power Tools and move to the Code First approach?