Unicode identifiers

When trying to compile my first application, using the Model Object project wizard to generate a model from an existing database, I get 167 errors.

The problem is someone defining schemas on your team isn`t aware SQL identifiers, as well as c# identifiers, are Unicode, not ASCII.

C:\Program Files\MSBuild\Microsoft\ADO.NET vNext CTP\Microsoft.EDM.targets(31,9): error : E:\PULSAR\src\LINQ\Pulsar1Linq\Pulsar1Lib\Pulsar1Lib.Model.csdl(682,15) : error AG0005: The 'Name' attribute is invalid - The value 'NúmeroInicial' is invalid according to its datatype 'http://schemas.microsoft.com/ado/2006/04/edm:TSimpleIdentifier' - The Pattern constraint failed.

TSimpleIdentifier should allow for Unicode letters, yes?

Is there any way to work around this bug in the current release?

Regards,
Juan

[961 byte] By [JuanIgnacioGelos] at [2008-2-11]
# 1

Hi Juan,

Thanks for bringing this up. This looks like it might be a bug in the XSD we use to validate CSDL files. I'll follow up on this to make sure it gets addressed.

Pablo Castro
ADO.NET Technical Lead
Microsoft Corporation

pablo-ms at 2007-8-31 > top of Msdn Tech,Visual Studio Orcas,ADO.NET Orcas...

Visual Studio Orcas

Site Classified