How to Create a object of linq.edmx file?
I am create linq.edmx file in asp.net file but how to create object of .edmx file?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
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 attend5days leftRegister
NitinRank #455 · 5.5K reputationPosted Mar 18, 2015, 10:29 PM EDT
When you add an Entity Data Model in your application then it adds few class files also. In one of the class files it has a context mentioned in it. This class inherits from dbContext class and has Dbset of all the entities that you have selected as part of your entity model.You have to create an object of this context class.