You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes error messages in the designer, as VS picks up the .xsd file without HierarchyId primitive type (using an alternate EF6 SqlClient provider that depends on Microsoft.Data.SqlClient)
The error is:
Severity Code Description Project File Line Suppression State Priority
Error Error 168: The Provider Manifest is incorrect.
<File Unknown>(167,34) : error 0005: The 'PrimitiveTypeKind' attribute is invalid - The value 'HierarchyId' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2006/04/edm/providermanifest:TPrimitiveTypeKind' - The Enumeration constraint failed.
<File Unknown>(167,10) : error 0122: The value 'HierarchyId' is not a valid PrimitiveTypeKind. SmokeTestNetFx C:\Code\Github\EntityFramework6PowerTools\test\SmokeTestNetFx\Model1.edmx 7 Normal
Can not see any history stating why this was removed??
<xs:simpleTypename="TPrimitiveTypeKind">
<xs:restrictionbase="xs:string">
<xs:enumerationvalue="Binary"/>
<xs:enumerationvalue="Boolean"/>
<xs:enumerationvalue="Byte"/>
<xs:enumerationvalue="Decimal"/>
<xs:enumerationvalue="DateTime"/>
<xs:enumerationvalue="Time"/>
<xs:enumerationvalue="DateTimeOffset"/>
<xs:enumerationvalue="Double"/>
<!--- TODO: Spatial: only support the union types here for now. Once we deeply understand the full heirarchy, we'll have to beef this up. -->
<xs:enumerationvalue="Geography"/>
<xs:enumerationvalue="Geometry"/>
<xs:enumerationvalue="Guid"/>
<xs:enumerationvalue="Single"/>
<xs:enumerationvalue="SByte"/>
<xs:enumerationvalue="Int16"/>
<xs:enumerationvalue="Int32"/>
<xs:enumerationvalue="Int64"/>
<xs:enumerationvalue="String"/>
</xs:restriction>
</xs:simpleType>
This causes error messages in the designer, as VS picks up the .xsd file without HierarchyId primitive type (using an alternate EF6 SqlClient provider that depends on Microsoft.Data.SqlClient)
The error is:
Can not see any history stating why this was removed??
https://github.com/dotnet/ef6tools/blob/main/src/EntityFramework/Resources/System/Data/System.Data.Resources.ProviderServices.ProviderManifest.xsd
vs
https://github.com/dotnet/ef6/blob/main/src/EntityFramework/Resources/System/Data/System.Data.Resources.ProviderServices.ProviderManifest.xsd
The text was updated successfully, but these errors were encountered: