0

I have created a Linq(dbml) class wherein i have certain tables, i have saved the class file

Now i want to reference that class in .cs file in App_Code. But it does not shows me in the Intellisense. But i am able to use the same class in .aspx.cs pages.

Below is the name of my dbml file:

GlobalDatabase.dbml

Below is the reference i use in .aspx.cs file:

GlobalDatabaseDataContext context = new GlobalDatabaseDataContext();

Can anyone tell me how can i refer the same in .cs in App_Code.

abatishchev
  • 98,240
  • 88
  • 296
  • 433
Abbas
  • 4,948
  • 31
  • 95
  • 161

0 Answers0