Is this possible at all?
...
Int32? Id = 1;
QDataContext qDataContext = new QDataContext();
var q= from p in qDataContext.GetProcedurePersonas(Id)
select p.name, p.last;
...
When I run this, I get an error:
Could not find an implementation of the query pattern for source type
‘System.Data.Linq.ISingleResult WcfService1.GetProcedurePersonasResult’.
‘Select’ not found. Are you missing a reference to ‘System.Core.dll’
or a using directive for ‘System.Linq’?
Also I have this and work perfectly
...
Int32? Id = 1;
QDataContext qDataContext = new QDataContext();
var q= qDataContext.GetProcedurePersonas(Id);
...
if you already have the
and for instance you want to select something specific from q you may do.
to serialize to json you may use