I can create objects of each table in my database, so the .edmx file is doing it's job.
Why can't I create a new dbEntEntities (intellisense only pops up dbNull) object of the .edmx file?
Thanks!
I can create objects of each table in my database, so the .edmx file is doing it's job.
Why can't I create a new dbEntEntities (intellisense only pops up dbNull) object of the .edmx file?
Thanks!
You may have changed the name of the Entity Container and not have realized it. Open your Entity Diagram, find the Entity Container in the Model Browser and view its properties to see its name.
You may have also created your Entities in a separate namespace. If that's the case, make sure you include that namespace in the using
statements at the top of your code file.
A little more detail about your problem (which file you're trying to instantiate your Entity Container in, etc.) would be helpful.