I am trying to find a way to generate edmx file from query, I understand that we can update the model from database. However, in my case, we store all SQL definition scripts in a file. I need a way to generate edmx from those scripts instead of run the script file on the database and then generate edmx from database again.