[]
        
(Showing Draft Content)

C1.LiveLinq.CompiledQuery.Compile

Compile Method

Compile<T1, T2, T3, T4, TResult>(Expression<Func<T1, T2, T3, T4, IIndexedSource<TResult>>>)

Compiles the query.

Declaration
public static Func<T1, T2, T3, T4, IIndexedSource<TResult>> Compile<T1, T2, T3, T4, TResult>(Expression<Func<T1, T2, T3, T4, IIndexedSource<TResult>>> query)
Parameters
Type Name Description
Expression<Func<T1, T2, T3, T4, IIndexedSource<TResult>>> query

The query expression to be compiled.

Returns
Type Description
Func<T1, T2, T3, T4, IIndexedSource<TResult>>

The delegate to be called to execute the compiled query with particular parameter values.

Type Parameters
Name Description
T1

The type of the first parameter that has to be passed in when executing the delegate returned by the Compile method.

T2

The type of the second parameter that has to be passed in when executing the delegate returned by the Compile method.

T3

The type of the third parameter that has to be passed in when executing the delegate returned by the Compile method.

T4

The type of the fourth parameter that has to be passed in when executing the delegate returned by the Compile method.

TResult

The type of TResult in the IIndexedSource<TResult> returned when executing the delegate returned by the Compile method.

Compile<T1, T2, T3, TResult>(Expression<Func<T1, T2, T3, IIndexedSource<TResult>>>)

Compiles the query.

Declaration
public static Func<T1, T2, T3, IIndexedSource<TResult>> Compile<T1, T2, T3, TResult>(Expression<Func<T1, T2, T3, IIndexedSource<TResult>>> query)
Parameters
Type Name Description
Expression<Func<T1, T2, T3, IIndexedSource<TResult>>> query

The query expression to be compiled.

Returns
Type Description
Func<T1, T2, T3, IIndexedSource<TResult>>

The delegate to be called to execute the compiled query with particular parameter values.

Type Parameters
Name Description
T1

The type of the first parameter that has to be passed in when executing the delegate returned by the Compile method.

T2

The type of the second parameter that has to be passed in when executing the delegate returned by the Compile method.

T3

The type of the third parameter that has to be passed in when executing the delegate returned by the Compile method.

TResult

The type of TResult in the IIndexedSource<TResult> returned when executing the delegate returned by the Compile method.

Compile<T1, T2, TResult>(Expression<Func<T1, T2, IIndexedSource<TResult>>>)

Compiles the query.

Declaration
public static Func<T1, T2, IIndexedSource<TResult>> Compile<T1, T2, TResult>(Expression<Func<T1, T2, IIndexedSource<TResult>>> query)
Parameters
Type Name Description
Expression<Func<T1, T2, IIndexedSource<TResult>>> query

The query expression to be compiled.

Returns
Type Description
Func<T1, T2, IIndexedSource<TResult>>

The delegate to be called to execute the compiled query with particular parameter values.

Type Parameters
Name Description
T1

The type of the first parameter that has to be passed in when executing the delegate returned by the Compile method.

T2

The type of the second parameter that has to be passed in when executing the delegate returned by the Compile method.

TResult

The type of TResult in the IIndexedSource<TResult> returned when executing the delegate returned by the Compile method.

Compile<T, TResult>(Expression<Func<T, IIndexedSource<TResult>>>)

Compiles the query.

Declaration
public static Func<T, IIndexedSource<TResult>> Compile<T, TResult>(Expression<Func<T, IIndexedSource<TResult>>> query)
Parameters
Type Name Description
Expression<Func<T, IIndexedSource<TResult>>> query

The query expression to be compiled.

Returns
Type Description
Func<T, IIndexedSource<TResult>>

The delegate to be called to execute the compiled query with particular parameter values.

Type Parameters
Name Description
T

The type of the parameter that has to be passed in when executing the delegate returned by the Compile method.

TResult

The type of TResult in the IIndexedSource<TResult> returned when executing the delegate returned by the Compile method.