Question: how to create edmx file?
Answer: Add ADO.NET Entity Data Model. Right Click on the project and go to Add > New Item. ... 
Entity Data Modal Wizard. Here Visual Studio will ask you to select an option from a number of steps starting with Choose Model Contents. ... 
Choose Your Database Objects and Settings.