creating context from EDML vs EDMX file

Discussion of open issues, suggestions and bugs regarding Entity Framework support in ADO.NET Data providers
Post Reply
KevClark64
Posts: 8
Joined: Thu 12 Dec 2013 22:30

creating context from EDML vs EDMX file

Post by KevClark64 » Mon 23 Jun 2014 20:22

When I create an EDMX file and add it to my project, I am able to import the namespace and create the context, etc. However, when I create an EDML file and add it to my project, I cannot import the namespace. I'm confused as to how to create the context when the namespace doesn't seem to exist. What would the code be in VB.NET to create the context?

Shalex
Site Admin
Posts: 8247
Joined: Thu 14 Aug 2008 12:44

Re: creating context from EDML vs EDMX file

Post by Shalex » Tue 24 Jun 2014 14:24

Please give us the following information:
1) the exact (x.x.x) version of your current dotConnect for PostgreSQL. Does the problem persist with the latest (7.3.181) build?
2) the full version of your Visual Studio (Help > About)
3) the version of Entity Framework used in your project
4) the name (and its non-default settings) of the predefined template used in your *.edml model
5) give us details about the issue you have encountered:
a) did you encounter any error (specify its exact message) during code generation?
b) specify here (or send us via email) the code you are expecting to be generated and the code which was actually generated

Post Reply