MySQL Forums
Forum List  »  MySQL for Visual Studio

Re: LINQ to Entity
Posted by: Francisco Alberto Tirado Zavala
Date: January 12, 2015 01:04PM

Hello Björn.

I missed the View part because of this sentence in your first comment:
"... So i defined a key in the table of the modell designer ..."
I though you did the changes to a table, not a view. I apologize for that.

I did some tests, creating a Model (edmx file) from an existing database selecting only views. But I didn't receive the error that you reported.

I used the following to do the tests
- EF 5 with Connector/Net 6.9.5 and MySql For Visual Studio 1.2
- EF 6 with Connector/Net 6.9.5 and MySql For Visual Studio 1.2

The model was created fine, and I was able to get the data. I didn't any action as update or insert to the View, because if you want to do that you will need a custom workaround/hack/trick.

Can you share the Project or the ER model of how you are defining your View?

Thanks for your time.

*** My opinions do not necessarily reflect the opinions of my employeer ***
MySql Windows Experience Team

Options: ReplyQuote

Written By
November 18, 2014 06:19AM
November 28, 2014 03:47PM
December 03, 2014 03:48AM
December 04, 2014 07:45AM
December 12, 2014 01:27AM
Re: LINQ to Entity
January 12, 2015 01:04PM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.