What are the options for .NET .Where() with Date Values
What are the options for .NET .Where() with Date Values
puzle
Posts: 1Questions: 1Answers: 0
The manual has something like the following:
.Where(q => q.Where("Entered", "DATE_ADD( NOW(), INTERVAL -14 DAY )", ">=", false))
I'm using c# .Net and SQl Server what options are available to specify a date value?
Are they any examples?
This discussion has been closed.
Answers
I don't really understand the question I'm afraid. That example is using SQLServer's
DATE_ADD()
and you can likewise use other SQL methods if you need.What is it specifically you are trying to do?
Allan