1
Answer

Moving from Windows Forms with EDMX to WPF

Photo of Andy

Andy

16h
70
1 WPF

Hi everyone,

I’m coming from a Windows Forms background where I used EDMX (Entity Data Model) to map my SQL Server database.

I really liked how I could easily update the model from the database and get all the fields ready to use in my code whenever the DB structure changed.

Now I’m moving to WPF, and I’d like to keep the same convenience — meaning, if I modify the database, I want to be able to update a data model (like EDMX) so that my entities and properties stay in sync automatically.

I’d like to keep using Entity Framework and SQL Server, but I’m not sure what’s the best approach in WPF for this scenario.

Any suggestions or modern alternatives to EDMX that would work well in WPF?

Thanks in advance for your help!

Answers (1)