where can i find .edmx file in MvcMusicStore-v3.0 ?

May 10, 2012 at 2:53 AM


I have downloaded MvcMusicStore-v3.0 application, i could not find .edmx file? how is it accessing the data?

2) what is MvcMusicStore.sdf file in App_Data??

3)is it using POCO classes?

please someone help me on this....


May 12, 2012 at 10:21 AM

1. MvcMusicStore uses Entity Framework - Code First which doesn't need any .edmx file. EF - Code First creates data context directly from your POCO classes.

2. MvcMusicStore.sdf is a SQL Server Compact database.

3. Yes, it uses POCO classes that are defined in Models folder and configured partly by "convention over configuration" and partly within the file MusicStoreEntities.cs.

Maybe you should start with this: http://www.amazon.com/Programming-Entity-Framework-Code-First/dp/1449312942