I need to select of all fields from a table I try to do this using to following code and I get the error notification class name is not valid at this point
from item in context.CreateQuery<permitdocumentfields>()
where item.Id == new Guid(Request["view"])
select new
{ permitdocumentfields }
How to make this stuff to work like FROM TABLE SELECT *?
Check the post for more detail : SQL to LINQ ( Visual Representation )
Simple select

Select with the filter and select new

Note :
select newis require when you want to construct new object only.