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
Post a Comment