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
dependenciesQueryableMethodTranslatingExpressionVisitorDependenciesrelationalDependenciesRelationalQueryableMethodTranslatingExpressionVisitorDependenciesqueryCompilationContextRelationalQueryCompilationContextnpgsqlSingletonOptionsINpgsqlSingletonOptions
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
parentVisitorNpgsqlQueryableMethodTranslatingExpressionVisitor
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
GenerateJsonPartialUpdateSetter(Expression, SqlExpression, ref SqlExpression?)
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 SqlExpression? GenerateJsonPartialUpdateSetter(Expression target, SqlExpression value, ref SqlExpression? existingSetterValue)
Parameters
targetExpressionvalueSqlExpressionexistingSetterValueSqlExpression
Returns
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
selectExpressionSelectExpression
Returns
IsOrdered(SelectExpression)
Determines whether the given SelectExpression is ordered, typically because orderings have been added to it.
protected override bool IsOrdered(SelectExpression selectExpression)
Parameters
selectExpressionSelectExpressionThe SelectExpression to check for ordering.
Returns
- bool
Whether
selectExpressionis ordered.
IsValidSelectExpressionForExecuteDelete(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 IsValidSelectExpressionForExecuteDelete(SelectExpression selectExpression)
Parameters
selectExpressionSelectExpression
Returns
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
selectExpressionSelectExpressiontargetTableTableExpressionBasetableExpressionTableExpression
Returns
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
jsonQueryExpressionJsonQueryExpression
Returns
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
sourceShapedQueryExpressionpredicateLambdaExpression
Returns
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
sourceShapedQueryExpressionpredicateLambdaExpression
Returns
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
source1ShapedQueryExpressionsource2ShapedQueryExpression
Returns
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
sourceShapedQueryExpressionitemExpression
Returns
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
sourceShapedQueryExpressionpredicateLambdaExpression
Returns
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
sourceShapedQueryExpressionindexExpressionreturnDefaultbool
Returns
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
sourceShapedQueryExpressionpredicateLambdaExpressionreturnTypeTypereturnDefaultbool
Returns
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
sqlExpressionSqlExpressionpropertyIPropertytableAliasstring
Returns
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
sourceShapedQueryExpressioncountExpression
Returns
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
sourceShapedQueryExpressioncountExpression
Returns
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
sourceShapedQueryExpressionpredicateLambdaExpression
Returns
TrySerializeScalarToJson(JsonScalarExpression, SqlExpression, out SqlExpression?)
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 TrySerializeScalarToJson(JsonScalarExpression target, SqlExpression value, out SqlExpression? jsonValue)
Parameters
targetJsonScalarExpressionvalueSqlExpressionjsonValueSqlExpression