Last post Mar 10, 2015 09:42 AM by itpreneur
Mar 08, 2015 10:58 AM|Bader|LINK
I'm using ADO.NET model, but I'm getting the following issue:
Keyword not supported: 'metadata'
Can you please help?
Mar 09, 2015 09:51 PM|Sherwin Zhao|LINK
Thanks for your post.
I have the following questions:
1. Which version of Entity Framework are you using?
2. Which API are you using, the DbContext or ObjectContext?
3. Do you have even modified the generated code? If have, I suggest that you do not do that, just to do a simple test as below to check if this works:
using (db_testEntities db=new db_testEntities())
var result = db.Orders.ToList();
And please share some related code with us which would help narrow down this issue.
I am also wondering if it is an environment issue, please have a try to create a solution and create a new project with Entity Framework. Or using a new machine to create it to see if works.
Hope this can be helpful to you.
Mar 10, 2015 09:42 AM|itpreneur|LINK
What is your web.config/app.config configuration for your connection strings? Try to look at whether you have something wrong with your providerName or the metadata connection itself.