public Action <IHqlExpressionFactory> GetFilterPredicate(dynamic formState)
 {
     return(DateTimeFilterForm.GetFilterPredicate(
                formState,
                this.GetQueryVersionScope((string)formState.VersionScope).ToVersionedFieldIndexColumnName(),
                _clock.UtcNow,
                true));
 }
Example #2
0
 public Action <IHqlExpressionFactory> Filter(string property, dynamic formState)
 {
     return(DateTimeFilterForm.GetFilterPredicate(formState, property, _clock.UtcNow));
 }
 public Action <IHqlExpressionFactory> GetFilterPredicate(dynamic formState)
 {
     return(DateTimeFilterForm.GetFilterPredicate(formState, "Value", _clock.UtcNow, true));
 }
Example #4
0
 public Action <IHqlExpressionFactory> GetFilterPredicate(dynamic formState)
 {
     return(DateTimeFilterForm.GetFilterPredicate(formState, formState.VersionScope == QueryVersionScopeOptions.Latest ? "LatestValue" : "Value", _clock.UtcNow, true));
 }