Home > Net >  Unable to find a linqtosqlClassDataContext definition
Unable to find a linqtosqlClassDataContext definition

Time:09-30

When I was in linqtosqlClassDataContext variables, the system prompt failed to find the definition of linqtosqlClassDataContext,
But I have installed the LINQ to SQL classes this component


I am currently reference library following
Using System;
using System.Collections.Generic;
Using System.Com ponentModel;
Using System. The Data;
Using System. Drawing;
Using System. Linq;
using System.Text;
Using System. The Threading. The Tasks;
Using System. Windows. Forms;

Do I need any component or reference?
Still hope everyone a great god answer, thank you

CodePudding user response:

Do you have any references?

CodePudding user response:

reference 1st floor C_gyl response:
do you have any references?


I built a project, and then point - add new projects, choose the LINQ to SQL classes,
And had connection of database, also the table map,

CodePudding user response:

refer to the second floor bigtreeYoung response:
Quote: refer to 1st floor C_gyl response:

Do you have any references?


I built a project, and then point - add new projects, choose the LINQ to SQL classes,
And had connection of database, also the table map,


CodePudding user response:

reference C_gyl reply: 3/f
Quote: refer to the second floor bigtreeYoung response:

Quote: refer to 1st floor C_gyl response:

Do you have any references?


I built a project, and then point - add new projects, choose the LINQ to SQL classes,
And had connection of database, also the table map,




What also need to quote?
The following is my reference

CodePudding user response:

Did not refer to the assembly,

CodePudding user response:

reference 5 floor ishgmwyc reply:
not referenced assemblies,


Please refer to which the assembly? Hope to solve, thank you

CodePudding user response:

Not reference questions, you new LinqtoSQL class name of the class when you don't choose the default, what are you changed, your side new object will use what name
  •  Tags:  
  • C#
  • Related