Table of Contents

Class NpgsqlQueryableMethodTranslatingExpressionVisitor

Namespace
Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal
Assembly
Npgsql.EntityFrameworkCore.PostgreSQL.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 NpgsqlQueryableMethodTranslatingExpressionVisitor : RelationalQueryableMethodTranslatingExpressionVisitor
Inheritance
NpgsqlQueryableMethodTranslatingExpressionVisitor
Inherited Members

Constructors

NpgsqlQueryableMethodTranslatingExpressionVisitor(QueryableMethodTranslatingExpressionVisitorDependencies, RelationalQueryableMethodTranslatingExpressionVisitorDependencies, RelationalQueryCompilationContext, INpgsqlSingletonOptions)

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 NpgsqlQueryableMethodTranslatingExpressionVisitor(QueryableMethodTranslatingExpressionVisitorDependencies dependencies, RelationalQueryableMethodTranslatingExpressionVisitorDependencies relationalDependencies, RelationalQueryCompilationContext queryCompilationContext, INpgsqlSingletonOptions npgsqlSingletonOptions)

Parameters

dependencies QueryableMethodTranslatingExpressionVisitorDependencies
relationalDependencies RelationalQueryableMethodTranslatingExpressionVisitorDependencies
queryCompilationContext RelationalQueryCompilationContext
npgsqlSingletonOptions INpgsqlSingletonOptions

NpgsqlQueryableMethodTranslatingExpressionVisitor(NpgsqlQueryableMethodTranslatingExpressionVisitor)

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 NpgsqlQueryableMethodTranslatingExpressionVisitor(NpgsqlQueryableMethodTranslatingExpressionVisitor parentVisitor)

Parameters

parentVisitor NpgsqlQueryableMethodTranslatingExpressionVisitor

Methods

CreateSubqueryVisitor()

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 override QueryableMethodTranslatingExpressionVisitor CreateSubqueryVisitor()

Returns

QueryableMethodTranslatingExpressionVisitor

IsNaturallyOrdered(SelectExpression)

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 override bool IsNaturallyOrdered(SelectExpression selectExpression)

Parameters

selectExpression SelectExpression

Returns

bool

IsOrdered(SelectExpression)

Determines whether the given SelectExpression is ordered, typically because orderings have been added to it.

protected override bool IsOrdered(SelectExpression selectExpression)

Parameters

selectExpression SelectExpression

The SelectExpression to check for ordering.

Returns

bool

Whether selectExpression is ordered.

IsValidSelectExpressionForExecuteDelete(SelectExpression, StructuralTypeShaperExpression, out TableExpression?)

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 override bool IsValidSelectExpressionForExecuteDelete(SelectExpression selectExpression, StructuralTypeShaperExpression shaper, out TableExpression? tableExpression)

Parameters

selectExpression SelectExpression
shaper StructuralTypeShaperExpression
tableExpression TableExpression

Returns

bool

IsValidSelectExpressionForExecuteUpdate(SelectExpression, TableExpressionBase, out TableExpression?)

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 override bool IsValidSelectExpressionForExecuteUpdate(SelectExpression selectExpression, TableExpressionBase targetTable, out TableExpression? tableExpression)

Parameters

selectExpression SelectExpression
targetTable TableExpressionBase
tableExpression TableExpression

Returns

bool

TransformJsonQueryToTable(JsonQueryExpression)

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 override ShapedQueryExpression TransformJsonQueryToTable(JsonQueryExpression jsonQueryExpression)

Parameters

jsonQueryExpression JsonQueryExpression

Returns

ShapedQueryExpression

TranslateAll(ShapedQueryExpression, 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 override ShapedQueryExpression? TranslateAll(ShapedQueryExpression source, LambdaExpression predicate)

Parameters

source ShapedQueryExpression
predicate LambdaExpression

Returns

ShapedQueryExpression

TranslateAny(ShapedQueryExpression, 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 override ShapedQueryExpression? TranslateAny(ShapedQueryExpression source, LambdaExpression? predicate)

Parameters

source ShapedQueryExpression
predicate LambdaExpression

Returns

ShapedQueryExpression

TranslateConcat(ShapedQueryExpression, ShapedQueryExpression)

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 override ShapedQueryExpression TranslateConcat(ShapedQueryExpression source1, ShapedQueryExpression source2)

Parameters

source1 ShapedQueryExpression
source2 ShapedQueryExpression

Returns

ShapedQueryExpression

TranslateContains(ShapedQueryExpression, 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 override ShapedQueryExpression? TranslateContains(ShapedQueryExpression source, Expression item)

Parameters

source ShapedQueryExpression
item Expression

Returns

ShapedQueryExpression

TranslateCount(ShapedQueryExpression, 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 override ShapedQueryExpression? TranslateCount(ShapedQueryExpression source, LambdaExpression? predicate)

Parameters

source ShapedQueryExpression
predicate LambdaExpression

Returns

ShapedQueryExpression

TranslateElementAtOrDefault(ShapedQueryExpression, Expression, bool)

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 override ShapedQueryExpression? TranslateElementAtOrDefault(ShapedQueryExpression source, Expression index, bool returnDefault)

Parameters

source ShapedQueryExpression
index Expression
returnDefault bool

Returns

ShapedQueryExpression

TranslateFirstOrDefault(ShapedQueryExpression, LambdaExpression?, Type, bool)

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 override ShapedQueryExpression? TranslateFirstOrDefault(ShapedQueryExpression source, LambdaExpression? predicate, Type returnType, bool returnDefault)

Parameters

source ShapedQueryExpression
predicate LambdaExpression
returnType Type
returnDefault bool

Returns

ShapedQueryExpression

TranslatePrimitiveCollection(SqlExpression, IProperty?, string)

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 override ShapedQueryExpression? TranslatePrimitiveCollection(SqlExpression sqlExpression, IProperty? property, string tableAlias)

Parameters

sqlExpression SqlExpression
property IProperty
tableAlias string

Returns

ShapedQueryExpression

TranslateSkip(ShapedQueryExpression, 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 override ShapedQueryExpression? TranslateSkip(ShapedQueryExpression source, Expression count)

Parameters

source ShapedQueryExpression
count Expression

Returns

ShapedQueryExpression

TranslateTake(ShapedQueryExpression, 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 override ShapedQueryExpression? TranslateTake(ShapedQueryExpression source, Expression count)

Parameters

source ShapedQueryExpression
count Expression

Returns

ShapedQueryExpression

TranslateWhere(ShapedQueryExpression, 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 override ShapedQueryExpression? TranslateWhere(ShapedQueryExpression source, LambdaExpression predicate)

Parameters

source ShapedQueryExpression
predicate LambdaExpression

Returns

ShapedQueryExpression