Share via

Linq Data Type convert unexpectedly

ahmed ali 21 Reputation points
Jul 14, 2021, 5:22 AM

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,927 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,827 questions
{count} votes

Accepted answer
  1. Karen Payne MVP 35,566 Reputation points
    Jul 14, 2021, 2:28 PM

    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.