MySQL Forums
Forum List  »  MySQL for Visual Studio

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

Hello,

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?

Mfg

Björn Reichard

Options: ReplyQuote


Subject
Views
Written By
Posted
LINQ to Entity
2142
November 18, 2014 06:19AM
930
November 28, 2014 03:47PM
816
December 03, 2014 03:48AM
916
December 04, 2014 07:45AM
917
December 12, 2014 01:27AM
1109
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.