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

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -