2
Vote

EF 6 / EDMX 3.0 Support?

description

I'm trying to get this template to work on an EF6 / Edmx 3 file.

I'm getting some of which I don't know is this is an Edmx version problem.

Error 221 Running transformation: The 'Type' attribute is invalid - The value '[My correct type name]' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2009/11/edm:TQualifiedName' - The Pattern constraint failed.

I see that the Xml namespace has changed from:
xmlns:edmx="http://schemas.microsoft.com/ado/2008/10/edmx"

To:
xmlns:edmx="http://schemas.microsoft.com/ado/2009/11/edmx"

When I change to Xml namespace back to the old url (which I don't think is a permanent solution), the error disappears (but no buddy classes are generated, which may be another issue).

comments

Atrejoe wrote Jun 24, 2014 at 3:34 PM

Nevermind, the actual namespace of my classes was not correct according to the xmlns.

The template works fine as-is, my apologies for the fuss.

wrote Mar 18, 2016 at 10:15 AM