I'm using selfservicing code (Preset: SD.Presets.Selfservicing.TwoClasses2008 )
The code example in my case is in the DL.EntityClasses.ActionEntity :
// __LLBLGENPRO_USER_CODE_REGION_START CustomEntityCode
public void setSequenceNr() {
DL.Linq.LinqMetaData metaData = new DL.Linq.LinqMetaData();
var results = from RCARecord in metaData.RcaRequest
where RCARecord.Closed == false || RCARecord.Closed == null
select RCARecord;
...
}
// __LLBLGENPRO_USER_CODE_REGION_END
The text "metaData.RcaRequest" is underlined and the error message is:
Error 57 Could not find an implementation of the query pattern for source type 'SD.LLBLGen.Pro.LinqSupportClasses.DataSource<RCATool.DL.EntityClasses.RcaRequestEntity>'. 'Where' not found. Are you missing a reference to 'System.Core.dll' or a using directive for 'System.Linq'? d:\Projects\x\DL\EntityClasses\ActionEntity.cs 114 45 RCATool.DL
adding this, doesn't help:
using SD.LLBLGen.Pro.LinqSupportClasses;