MySQL Forums
Forum List  »  MySQL for Visual Studio

LINQ to Entity
Posted by: Björn Reichard
Date: November 18, 2014 06:19AM


I use mySQL Tools for Visual Studio. I get Data from a view in mysql (5.6) and fill an Datacontext with LINQ to entities.

My problem:
The entity model designer needs an primary key to work. But a view in mysql has no key. So i defined a key in the table of the modell designer.

When the view from the mySQL comes with data, that is not unique and have a conflict with the key in my datamodel, then happened the following thing: There is no error message and the Software will exit. The mySQL driver fill the datamodel with other data that is not consistent. Is this a bug? Sorry for my bad english. Can i explain it in german?


Björn Reichard

Options: ReplyQuote

Written By
LINQ to Entity
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
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.