Search Results for

    Show / Hide Table of Contents

    Class ClientQueryProviderBase<TExpressionParser>

    A base Query provider for the Client implementation

    Inheritance
    System.Object
    ClientQueryProviderBase<TExpressionParser>
    QueryProvider<T, TParser>
    QueryProvider<T, TParser>
    Implements
    IClientQueryProvider
    System.Linq.IQueryProvider
    Namespace: ImageVault.Client.Query
    Assembly: ImageVault.Client.dll
    Syntax
    public abstract class ClientQueryProviderBase<TExpressionParser> : Object, IClientQueryProvider where TExpressionParser : ExpressionVisitor, IIvExpressionParser
    Type Parameters
    Name Description
    TExpressionParser

    Constructors

    ClientQueryProviderBase(TExpressionParser)

    Declaration
    protected ClientQueryProviderBase(TExpressionParser parser)
    Parameters
    Type Name Description
    TExpressionParser parser

    Properties

    Client

    Get/Sets the Client of the MediaItemQueryProvider

    Declaration
    public IClient Client { get; set; }
    Property Value
    Type Description
    IClient

    Methods

    CreateQuery(Expression)

    Constructs an System.Linq.IQueryable object that can evaluate the query represented by a specified expression tree.

    Declaration
    public abstract IQueryable CreateQuery(Expression expression)
    Parameters
    Type Name Description
    System.Linq.Expressions.Expression expression

    An expression tree that represents a LINQ query.

    Returns
    Type Description
    System.Linq.IQueryable

    An System.Linq.IQueryable that can evaluate the query represented by the specified expression tree.

    CreateQuery<TElement>(Expression)

    Constructs an System.Linq.IQueryable<> object that can evaluate the query represented by a specified expression tree.

    Declaration
    public abstract IQueryable<TElement> CreateQuery<TElement>(Expression expression)
    Parameters
    Type Name Description
    System.Linq.Expressions.Expression expression

    An expression tree that represents a LINQ query.

    Returns
    Type Description
    System.Linq.IQueryable<TElement>

    An System.Linq.IQueryable<> that can evaluate the query represented by the specified expression tree.

    Type Parameters
    Name Description
    TElement

    The type of the elements of the System.Linq.IQueryable<> that is returned.

    Execute(Expression)

    Executes the query represented by a specified expression tree.

    Declaration
    public object Execute(Expression expression)
    Parameters
    Type Name Description
    System.Linq.Expressions.Expression expression

    An expression tree that represents a LINQ query.

    Returns
    Type Description
    System.Object

    The value that results from executing the specified query.

    Execute<TResult>(Expression)

    Executes the strongly-typed query represented by a specified expression tree.

    Declaration
    public TResult Execute<TResult>(Expression expression)
    Parameters
    Type Name Description
    System.Linq.Expressions.Expression expression

    An expression tree that represents a LINQ query.

    Returns
    Type Description
    TResult

    The value that results from executing the specified query.

    Type Parameters
    Name Description
    TResult

    The type of the value that results from executing the query.

    ExecuteInner(Expression)

    Declaration
    protected object ExecuteInner(Expression expression)
    Parameters
    Type Name Description
    System.Linq.Expressions.Expression expression
    Returns
    Type Description
    System.Object
    Exceptions
    Type Condition
    System.InvalidProgramException

    If no query over the data source was specified.

    IsQueryOverDataSource(Expression)

    Checks if the query uses the datasource

    Declaration
    protected static bool IsQueryOverDataSource(Expression expression)
    Parameters
    Type Name Description
    System.Linq.Expressions.Expression expression
    Returns
    Type Description
    System.Boolean

    True if query over data is source, otherwise false.

    Implements

    IClientQueryProvider
    System.Linq.IQueryProvider

    Extension Methods

    EnumExtensions.GetNames<TEnum>(TEnum)
    In This Article
    Back to top (c) Meriworks 2002-2022