Bug #70509 NullpointerReference error when generating database from entity framework

Submitted: 3 Oct 2013 13:36 Modified: 4 Nov 2013 18:06
Reporter: Henrik Thomsen Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Visual Studio Integration Severity:S1 (Critical)
Version:5.6 OS:Windows
Assigned to: Assigned Account CPU Architecture:Any

[3 Oct 2013 13:36] Henrik Thomsen
Description:
I get an error when I choose 'Generate database from Model' from an ADO.NET Entity Data Model (EDMX).

DDL Generation Template is set to SSDLToMySQL.tt (VS)

Platform:
Microsoft Visual Studio Ultimate 2012 Version 11.0.50727.1 RTMREL
Microsoft .NET Framework Version 4.5.50709
MySQL Connector/Net   1.0.2

How to repeat:
I get an error when I choose 'Generate database from Model' from an ADO.NET Entity Data Model (EDMX).

Suggested fix:
Open the file C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\Extensions\Microsoft\Entity Framework Tools\DBGen\GenerateMySQL.Utility.ttinclude

Replace line 138:

string edmxNamespace = "http://schemas.microsoft.com/ado/2008/10/edmx";

with this:

string edmxNamespace = "http://schemas.microsoft.com/ado/2009/11/edmx";
[4 Nov 2013 18:06] Fernando Gonzalez.Sanchez
Hi, 

thanks for your bug report.

This one is actually a duplicate of http://bugs.mysql.com/bug.php?id=67964.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.050 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
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.