Class CompiledQueryBase<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 abstract class CompiledQueryBase<TContext, TResult> where TContext : DbContext
Type Parameters
TContext
TResult
- Inheritance
-
CompiledQueryBase<TContext, TResult>
- Derived
- Inherited Members
Constructors
CompiledQueryBase(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.
protected CompiledQueryBase(LambdaExpression queryExpression)
Parameters
queryExpression
LambdaExpression
Methods
CreateCompiledQuery(IQueryCompiler, Expression)
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.
protected abstract Func<QueryContext, TResult> CreateCompiledQuery(IQueryCompiler queryCompiler, Expression expression)
Parameters
queryCompiler
IQueryCompilerexpression
Expression
Returns
- Func<QueryContext, TResult>
ExecuteCore(TContext, params object?[])
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.
protected virtual TResult ExecuteCore(TContext context, params object?[] parameters)
Parameters
context
TContextparameters
object[]
Returns
- TResult
ExecuteCore(TContext, CancellationToken, params object?[])
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.
protected virtual TResult ExecuteCore(TContext context, CancellationToken cancellationToken, params object?[] parameters)
Parameters
context
TContextcancellationToken
CancellationTokenparameters
object[]
Returns
- TResult