Model class file is not showing in mvc [Resolved]

Posted by Swappy_Gaj under ASP.NET MVC on 1/20/2015 | Points: 10 | Views : 480 | Status : [Member] | Replies : 2
After adding entity data model
then generate from database
it shows table
and after selecting table edmx file is showing

but the model class is not listed under Models folder




Responses

Posted by: kgovindarao523-21772 on: 1/21/2015 [Member] [MVP] Bronze | Points: 50

Up
0
Down

Resolved
Hi,

EDMX added tables won't show in Models folder because Models folder is applicable to MVC architecture, but not to entity frame work. In Models Folder you can write business models which are custom defined.
If you want to see the database entities, look in YOURENTITYMODEL.tt.

Thank you,
Govind

Swappy_Gaj, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Swappy_Gaj on: 1/23/2015 [Member] Starter | Points: 25

Up
0
Down
Thanks.Solved my problem

Swappy_Gaj, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response