Support forum for Huagati DBML/EDMX Tools
8/1/2010 10:01:50 PM
 jamesmanning Posts: 12
|
VS2010, .NET 4 class library, linq-to-sql
I have various nchar(2) (both nullable and not) columns and with 1.91 it's mapping them to System.Char instead of System.String. I get this even if I totally empty the dbml diagram and then have it update from the database, so it shouldn't be an issue with the existing dbml.
Error 10 DBML1005: Mapping between DbType 'nchar(2)' and Type 'System.Char' in Column '[State]' of Type 'Zip5' is not supported. 0 0 Error 6 DBML1005: Mapping between DbType 'nchar(2) NOT NULL' and Type 'System.Char' in Column '[State]' of Type 'Organization' is not supported. 0 0 Error 1 DBML1005: Mapping between DbType 'nchar(2) NOT NULL' and Type 'System.Char' in Column '[State]' of Type 'ZipCounty' is not supported. 0 0 Error 8 DBML1005: Mapping between DbType 'nchar(2) NOT NULL' and Type 'System.Char' in Column 'PrimaryState' of Type 'ZipCode' is not supported. 0 0
Is this a known bug, and is there an ETA?  edited by jamesmanning on 8/1/2010
|
|
0
• permalink
|
8/2/2010 3:00:05 AM
 Kristofer Andersson Moderator Posts: 331
|
Hi James,
Sorry about that and thanks for reporting this bug.
It was an unintended side-effect of a change in the VS2010 version of the add-in in 1.91. A fix will be available shortly.
Best regards, Kristofer edited by Kristofer on 8/2/2010
|
|
0
• permalink
|
8/2/2010 4:00:50 AM
 Kristofer Andersson Moderator Posts: 331
|
Hi,
The v 1.91 download has been patched with a fix for this. Please download it again and install.
Best regards, Kristofer
|
|
0
• permalink
|