I have this method that is supposed to get the latest messages posted, from the Table (& EntitySet) called ENTRY
///method gets \"days\" as parameter, used in ne
What do you want to do in case DATECREATED is null?
DATECREATED
null
If you just want to ignore these records use an additional condition(or where clause):
where
var entries = from ent in db.ENTRY where ent.DATECREATED.HasValue && ent.DATECREATED.Value > ...