Linq Data Type convert unexpectedly

ahmed ali 21 Reputation points
2021-07-14T05:22:31.99+00:00

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

114442-image.png

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,884 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,714 questions
{count} votes

Accepted answer
  1. Karen Payne MVP 35,401 Reputation points
    2021-07-14T14:28:34.327+00:00

    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

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.