This question is locked. New answers and comments are not allowed.
hi, i have the following basic select statement
----> Telerik.OpenAccess.OpenAccessException : Identifier 'ID' is not a parameter or variable or field of 'x'. If 'ID' is a property please add the FieldAlias or Storage attribute to it or declare it as a field's alias.
var result = from temp in scope.Extent<x>()
where temp.ID == 1
select temp;
foreach (x xTemp in result.ToList())
{
Console.WriteLine("::::"+xTem.Name+"::"+xTemp.ID);
}
but i get the following error
.System.InvalidOperationException : An exception occured during the execution of '
Extent<x>.Where(temp => (temp.ID = 1))'. See InnerException for more details.----> Telerik.OpenAccess.OpenAccessException : Identifier 'ID' is not a parameter or variable or field of 'x'. If 'ID' is a property please add the FieldAlias or Storage attribute to it or declare it as a field's alias.