L
L
lexx_v112014-10-20 11:54:36
C++ / C#
lexx_v11, 2014-10-20 11:54:36

How to use linq to sql class in DotNetNuke module?

OS Windows 8.1 x64. Visual Studio 2012 development environment. Version DotNetNuke 7.3.2.
I am writing a module using linq. I create a project from a template. I am creating a dbml file. It has a Class from a table of the same database that the site itself uses. Then I add a Linq data source to the module page, but I can't select a DataContext object for it. The list of objects is empty.
When I repeat all the same steps in a project created according to the "Empty ASP.NET Web Application" template, then everything works. I can't figure out what the difference is.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question