SalesBuy
1-855-856-7678
Technical SupportSupport
Querying Entities by a date field.
string
qry = string.Format(@"from e in entities where e[""ImageDate""] == {0} select e",dlg.SelectedDate.ToString());from e in entities where e["date-created"]>"2008-10-01T10:00:00" select e
Note that i'm looking for items created after Oct 10, 2008 10AM or later.
Hope this helps.
string
qry = @"from e in entities where e[""ComicDate""] == ""2008-01-29T00:00:00"" select e";to no avail :-(
“from e in entities where e["ComicDate"] == DateTime("2008-1-30T00:00:00") select e”
There is an example in the documentation. See example J.
|