I have a Asp.NET C# Project where i have created a Linq2SQL Model.
In a file i have to use it and somewhy its not showing up in intelicense form visual studio.
when i try to use InformitoDatabaseDataContext db = new InformitoDatabaseDataContext(); it doesnt recognize InformitoDatabaseDataContext.
The name of the .dbml file is InformitoDatabase.dbml
What can i do to “connect” the dbml file to my class?
I find the solution, the problem is that you are missing
InformitoDatabaseDataContext.designer.csclassCheck you are missing it or not.
I just add a dbml file to aap code folder, it consist of three files,
when I add a new file in the root directoy it misses the designer file
When I created the object of both the files, the file which is present in App_Code folder is accessible while other one is not accessible.
See the below image file, I added two files in App_Code folder and two in the Root Directory.