With Database First approach i've created the entities (with entity framework) inside my wpf project so i have the edmx file....From MSDN:
EF generates code from your model using T4 templates. The templates shipped with Visual Studio or downloaded from ...