asp.net mvc 5 - Changing the navigation property names in Database First -


i have bit of problem. have solution projects

  • businesslayer
  • dataaccesslayer
  • domain model

my dataaccesslayer contains edmx file , domainmodel tt file model classes.

i changed tt file according improve navigation property names when reverse engineering database , after error .. model not part of context exception.

this code throws exception:

public static testviewmodel gettestbypin(string pin)     {          testviewmodel clfo = new testviewmodel();           var client = cl in db.tests                      cl.pin == pin                      select cl; 

can me?


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -