File not updated in model1.tt
I added a table in datamodel. but the cs file is not generated in model1.tt.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 28, 2013, 9:51 PM EDT
Open the edmx file. Right Click anywhere but the tables or relationships.
Regards,
Iftikar
vidhyaRank #4,868 · 321 reputationPosted Jul 28, 2013, 9:58 PM EDT
TestQuestionEssay.cs is not generated in model1.tt.
I did not know whats the reason for that?
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 28, 2013, 10:14 PM EDT
can you share the screen shot?
Regards,
Iftikar
vidhyaRank #4,868 · 321 reputationPosted Jul 28, 2013, 10:21 PM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 28, 2013, 10:27 PM EDT
refer the attach
Regards,
Iftikar
vidhyaRank #4,868 · 321 reputationPosted Jul 28, 2013, 10:50 PM EDT
Did u see my attachment file or not which i sent before.
c this attachment file. I added the table TestQuestionEssay in edmx , but
TestQuestionEssay.cs is not generated in model1.tt.
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 28, 2013, 11:24 PM EDT
Regards,
Iftikar
vidhyaRank #4,868 · 321 reputationPosted Jul 28, 2013, 11:24 PM EDT
Any suggestions please?
vidhyaRank #4,868 · 321 reputationPosted Jul 28, 2013, 11:26 PM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 28, 2013, 11:27 PM EDT
Regards,
Iftikar
vidhyaRank #4,868 · 321 reputationPosted Jul 28, 2013, 11:33 PM EDT
vidhyaRank #4,868 · 321 reputationPosted Jul 28, 2013, 11:44 PM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 28, 2013, 11:48 PM EDT
Regards,
Iftikar
vidhyaRank #4,868 · 321 reputationPosted Jul 28, 2013, 11:49 PM EDT
"The type or namespace name 'TestQuestionEssay' could not be found (are you missing a using directive or an assembly reference?)"
in Model1.Context.cs
vidhyaRank #4,868 · 321 reputationPosted Jul 28, 2013, 11:52 PM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 28, 2013, 11:55 PM EDT
Regards,
Iftikar
vidhyaRank #4,868 · 321 reputationPosted Jul 29, 2013, 12:07 AM EDT
Iftikar HussainRank #423 · 5.9K reputationPosted Jul 29, 2013, 12:08 AM EDT
Regards,
Iftikar