Table of Contents

Class CompiledQuery<TContext, TResult>

Namespace
Microsoft.EntityFrameworkCore.Query.Internal
Assembly
Microsoft.EntityFrameworkCore.dll

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public class CompiledQuery<TContext, TResult> : CompiledQueryBase<TContext, TResult> where TContext : DbContext

Type Parameters

TContext
TResult
Inheritance
CompiledQueryBase<TContext, TResult>
CompiledQuery<TContext, TResult>
Inherited Members

Constructors

CompiledQuery(LambdaExpression)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public CompiledQuery(LambdaExpression queryExpression)

Parameters

queryExpression LambdaExpression

Methods

CreateCompiledQuery(IQueryCompiler, Expression)

protected override Func<QueryContext, TResult> CreateCompiledQuery(IQueryCompiler queryCompiler, Expression expression)

Parameters

queryCompiler IQueryCompiler
expression Expression

Returns

Func<QueryContext, TResult>

Execute(TContext)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual TResult Execute(TContext context)

Parameters

context TContext

Returns

TResult

Execute<TParam1>(TContext, TParam1)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual TResult Execute<TParam1>(TContext context, TParam1 param1)

Parameters

context TContext
param1 TParam1

Returns

TResult

Type Parameters

TParam1

Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10>(TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual TResult Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10>(TContext context, TParam1 param1, TParam2 param2, TParam3 param3, TParam4 param4, TParam5 param5, TParam6 param6, TParam7 param7, TParam8 param8, TParam9 param9, TParam10 param10)

Parameters

context TContext
param1 TParam1
param2 TParam2
param3 TParam3
param4 TParam4
param5 TParam5
param6 TParam6
param7 TParam7
param8 TParam8
param9 TParam9
param10 TParam10

Returns

TResult

Type Parameters

TParam1
TParam2
TParam3
TParam4
TParam5
TParam6
TParam7
TParam8
TParam9
TParam10

Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11>(TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual TResult Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11>(TContext context, TParam1 param1, TParam2 param2, TParam3 param3, TParam4 param4, TParam5 param5, TParam6 param6, TParam7 param7, TParam8 param8, TParam9 param9, TParam10 param10, TParam11 param11)

Parameters

context TContext
param1 TParam1
param2 TParam2
param3 TParam3
param4 TParam4
param5 TParam5
param6 TParam6
param7 TParam7
param8 TParam8
param9 TParam9
param10 TParam10
param11 TParam11

Returns

TResult

Type Parameters

TParam1
TParam2
TParam3
TParam4
TParam5
TParam6
TParam7
TParam8
TParam9
TParam10
TParam11

Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12>(TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual TResult Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12>(TContext context, TParam1 param1, TParam2 param2, TParam3 param3, TParam4 param4, TParam5 param5, TParam6 param6, TParam7 param7, TParam8 param8, TParam9 param9, TParam10 param10, TParam11 param11, TParam12 param12)

Parameters

context TContext
param1 TParam1
param2 TParam2
param3 TParam3
param4 TParam4
param5 TParam5
param6 TParam6
param7 TParam7
param8 TParam8
param9 TParam9
param10 TParam10
param11 TParam11
param12 TParam12

Returns

TResult

Type Parameters

TParam1
TParam2
TParam3
TParam4
TParam5
TParam6
TParam7
TParam8
TParam9
TParam10
TParam11
TParam12

Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13>(TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual TResult Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13>(TContext context, TParam1 param1, TParam2 param2, TParam3 param3, TParam4 param4, TParam5 param5, TParam6 param6, TParam7 param7, TParam8 param8, TParam9 param9, TParam10 param10, TParam11 param11, TParam12 param12, TParam13 param13)

Parameters

context TContext
param1 TParam1
param2 TParam2
param3 TParam3
param4 TParam4
param5 TParam5
param6 TParam6
param7 TParam7
param8 TParam8
param9 TParam9
param10 TParam10
param11 TParam11
param12 TParam12
param13 TParam13

Returns

TResult

Type Parameters

TParam1
TParam2
TParam3
TParam4
TParam5
TParam6
TParam7
TParam8
TParam9
TParam10
TParam11
TParam12
TParam13

Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14>(TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual TResult Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14>(TContext context, TParam1 param1, TParam2 param2, TParam3 param3, TParam4 param4, TParam5 param5, TParam6 param6, TParam7 param7, TParam8 param8, TParam9 param9, TParam10 param10, TParam11 param11, TParam12 param12, TParam13 param13, TParam14 param14)

Parameters

context TContext
param1 TParam1
param2 TParam2
param3 TParam3
param4 TParam4
param5 TParam5
param6 TParam6
param7 TParam7
param8 TParam8
param9 TParam9
param10 TParam10
param11 TParam11
param12 TParam12
param13 TParam13
param14 TParam14

Returns

TResult

Type Parameters

TParam1
TParam2
TParam3
TParam4
TParam5
TParam6
TParam7
TParam8
TParam9
TParam10
TParam11
TParam12
TParam13
TParam14

Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15>(TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual TResult Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9, TParam10, TParam11, TParam12, TParam13, TParam14, TParam15>(TContext context, TParam1 param1, TParam2 param2, TParam3 param3, TParam4 param4, TParam5 param5, TParam6 param6, TParam7 param7, TParam8 param8, TParam9 param9, TParam10 param10, TParam11 param11, TParam12 param12, TParam13 param13, TParam14 param14, TParam15 param15)

Parameters

context TContext
param1 TParam1
param2 TParam2
param3 TParam3
param4 TParam4
param5 TParam5
param6 TParam6
param7 TParam7
param8 TParam8
param9 TParam9
param10 TParam10
param11 TParam11
param12 TParam12
param13 TParam13
param14 TParam14
param15 TParam15

Returns

TResult

Type Parameters

TParam1
TParam2
TParam3
TParam4
TParam5
TParam6
TParam7
TParam8
TParam9
TParam10
TParam11
TParam12
TParam13
TParam14
TParam15

Execute<TParam1, TParam2>(TContext, TParam1, TParam2)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual TResult Execute<TParam1, TParam2>(TContext context, TParam1 param1, TParam2 param2)

Parameters

context TContext
param1 TParam1
param2 TParam2

Returns

TResult

Type Parameters

TParam1
TParam2

Execute<TParam1, TParam2, TParam3>(TContext, TParam1, TParam2, TParam3)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual TResult Execute<TParam1, TParam2, TParam3>(TContext context, TParam1 param1, TParam2 param2, TParam3 param3)

Parameters

context TContext
param1 TParam1
param2 TParam2
param3 TParam3

Returns

TResult

Type Parameters

TParam1
TParam2
TParam3

Execute<TParam1, TParam2, TParam3, TParam4>(TContext, TParam1, TParam2, TParam3, TParam4)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual TResult Execute<TParam1, TParam2, TParam3, TParam4>(TContext context, TParam1 param1, TParam2 param2, TParam3 param3, TParam4 param4)

Parameters

context TContext
param1 TParam1
param2 TParam2
param3 TParam3
param4 TParam4

Returns

TResult

Type Parameters

TParam1
TParam2
TParam3
TParam4

Execute<TParam1, TParam2, TParam3, TParam4, TParam5>(TContext, TParam1, TParam2, TParam3, TParam4, TParam5)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual TResult Execute<TParam1, TParam2, TParam3, TParam4, TParam5>(TContext context, TParam1 param1, TParam2 param2, TParam3 param3, TParam4 param4, TParam5 param5)

Parameters

context TContext
param1 TParam1
param2 TParam2
param3 TParam3
param4 TParam4
param5 TParam5

Returns

TResult

Type Parameters

TParam1
TParam2
TParam3
TParam4
TParam5

Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6>(TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual TResult Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6>(TContext context, TParam1 param1, TParam2 param2, TParam3 param3, TParam4 param4, TParam5 param5, TParam6 param6)

Parameters

context TContext
param1 TParam1
param2 TParam2
param3 TParam3
param4 TParam4
param5 TParam5
param6 TParam6

Returns

TResult

Type Parameters

TParam1
TParam2
TParam3
TParam4
TParam5
TParam6

Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7>(TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual TResult Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7>(TContext context, TParam1 param1, TParam2 param2, TParam3 param3, TParam4 param4, TParam5 param5, TParam6 param6, TParam7 param7)

Parameters

context TContext
param1 TParam1
param2 TParam2
param3 TParam3
param4 TParam4
param5 TParam5
param6 TParam6
param7 TParam7

Returns

TResult

Type Parameters

TParam1
TParam2
TParam3
TParam4
TParam5
TParam6
TParam7

Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8>(TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual TResult Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8>(TContext context, TParam1 param1, TParam2 param2, TParam3 param3, TParam4 param4, TParam5 param5, TParam6 param6, TParam7 param7, TParam8 param8)

Parameters

context TContext
param1 TParam1
param2 TParam2
param3 TParam3
param4 TParam4
param5 TParam5
param6 TParam6
param7 TParam7
param8 TParam8

Returns

TResult

Type Parameters

TParam1
TParam2
TParam3
TParam4
TParam5
TParam6
TParam7
TParam8

Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9>(TContext, TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

public virtual TResult Execute<TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, TParam7, TParam8, TParam9>(TContext context, TParam1 param1, TParam2 param2, TParam3 param3, TParam4 param4, TParam5 param5, TParam6 param6, TParam7 param7, TParam8 param8, TParam9 param9)

Parameters

context TContext
param1 TParam1
param2 TParam2
param3 TParam3
param4 TParam4
param5 TParam5
param6 TParam6
param7 TParam7
param8 TParam8
param9 TParam9

Returns

TResult

Type Parameters

TParam1
TParam2
TParam3
TParam4
TParam5
TParam6
TParam7
TParam8
TParam9