question

ahmedali-9723 avatar image
0 Votes"
ahmedali-9723 asked Viorel-1 commented

Linq Data Type convert unexpectedly

I have a Problem when open all linq .dbml the int data type convert from Int32 to @int i don't know the reason

114442-image.png


dotnet-visual-basicwindows-forms
image.png (9.3 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.


How to reproduce the problem?

0 Votes 0 ·

1 Answer

karenpayneoregon avatar image
0 Votes"
karenpayneoregon answered karenpayneoregon edited

In C#, @ prefix enables the use of keywords as identifiers, for VB.NET the equivalent is [] e.g. Dim [Integer] As Integer. With that said, the code shown appears to be using C# not VB.NET

My guess is sqlmetal was used with /language csharp rather than /language vb


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.