Helllo Everyone,
I am facing an issue with EDMX.
I am creating an edmx file. When I am adding any new table using edmx design.then it is not reflecting on edmx context file.I could not get that table using objcontext object.
Please help
Know the answer? Post it. Somebody with the same question will find it here.
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Sep 14, 2015, 11:21 PM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Sep 14, 2015, 10:06 PM EDT
noopur verma88 reputationPosted Sep 14, 2015, 10:56 PM EDT
First Build Project and if it was successful, point the "model.tt" in the context. then run custom tool. It will fix it.
Again Build project and point to "model.context.tt" run custom tool. it will update DbSet lists.
I dont want to run custom Tool ,I want that it should be done automatically as mostly edmx does.
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Sep 14, 2015, 11:08 PM EDT
noopur verma88 reputationPosted Sep 14, 2015, 11:15 PM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Sep 14, 2015, 11:21 PM EDT
Upendra Pratap ShahiRank #329 · 7.5K reputationPosted Sep 14, 2015, 11:36 PM EDT
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questionsTop experts