-
-
Notifications
You must be signed in to change notification settings - Fork 522
Open
Description
I am trying to get some query working which includes binding value multiple times:
eg.
.OrderByRaw("CASE WHEN StartDate < ? and (EndDate is null or EndDate > ?) THEN 0 WHEN StartDate > ? THEN 1 ELSE 2 END",
bindings: new object[] { DateTime.Today, DateTime.Today, DateTime.Today })Is there any way to modify query in a way, so the DateTime.Today declared only ones.
Doc says nothing about that.
Metadata
Metadata
Assignees
Labels
No labels