I have such code using EntityFramework Alpha3 (from nuget):
class Member
{
[Key]
public int Key { get; set; }
public string Forename { get; set;
The reason why you're getting this error is that by design Linq to Entities converts all expression to server query. So it does not know how to translate DiffDays to SQL. Try to omit this method and rewrite expression.
UPDATE:
EntityFunctions are Canonical functions so you can use them in Linq to Entities. So the only reasonable explanation is in EF Alhpa version.