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?
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
NitinPosted Mar 19, 2015, 2:29 AM
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.