I have this query:
int cid = (from c in dc.Cs
where c.id == cid
select c.clientid).FirstOrDefault();
return cid;
where c.clientid is nullable. But I receive this error:
Cannot implicitly convert type 'int?' to 'int'. An explicit conversion exists (are you missing a cast?)