This question is locked. New answers and comments are not allowed.
The following linq statement:
var myPc = (
from pc in Scope.Extent<VwPhaseContact>()
join c in Scope.Extent<Contact>() on pc.ContactID equals c.ContactID
where pc.PhaseID == phaseId
orderby pc.ContactTypeID
select new
{
Pcid = pc.Pcid,
ContactId = c.ContactID,
ContactName = c.LastName + ", " + c.FirstName,
ContactTypeDesc = pc.TypeDesc,
Email = c.Email,
ContactType = pc.ContactType,
}
);
Results in the following error:
Field 'pc' not found on class 'WisBuild_Model.VwPhaseContact'.
We are running the latest version of Telerik ORM updated Q3 Release.
Any help would be appreciated
var myPc = (
from pc in Scope.Extent<VwPhaseContact>()
join c in Scope.Extent<Contact>() on pc.ContactID equals c.ContactID
where pc.PhaseID == phaseId
orderby pc.ContactTypeID
select new
{
Pcid = pc.Pcid,
ContactId = c.ContactID,
ContactName = c.LastName + ", " + c.FirstName,
ContactTypeDesc = pc.TypeDesc,
Email = c.Email,
ContactType = pc.ContactType,
}
);
Results in the following error:
Field 'pc' not found on class 'WisBuild_Model.VwPhaseContact'.
We are running the latest version of Telerik ORM updated Q3 Release.
Any help would be appreciated