private Expression ApplyPreprocessor(IQueryPreprocessor preprocessor, Session session, Expression query) { var preprocessor2 = preprocessor as IQueryPreprocessor2; return(preprocessor2 != null ? preprocessor2.Apply(session, query) : preprocessor.Apply(query)); }
/// <summary> /// Determines whether this query preprocessor is dependent on the <paramref name="other"/> one. /// </summary> /// <param name="other">The other query preprocessor.</param> /// <returns> /// <see langword="true"/> if this query preprocessor /// is dependent on <paramref name="other"/>; /// otherwise, <see langword="false"/>. /// </returns> public virtual bool IsDependentOn(IQueryPreprocessor other) { return(false); }
public override bool IsDependentOn(IQueryPreprocessor other) { return(false); }
public bool IsDependentOn(IQueryPreprocessor other) { return(other is ClosureQueryPreprocessor); }
public AsyncQueryPreprocessingDecorator(IAsyncQueryOperator <TEntity, QueryInput <TEntity> > queryOperator, IQueryPreprocessor <TEntity, QueryInput <TEntity> > preprocessor) : base(queryOperator, preprocessor) { }
public override bool IsDependentOn(IQueryPreprocessor other) { return(other is PreprocessorA); }