Table of Contents

Class NpgsqlSqlTranslatingExpressionVisitor

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 NpgsqlSqlTranslatingExpressionVisitor : RelationalSqlTranslatingExpressionVisitor
Inheritance
NpgsqlSqlTranslatingExpressionVisitor
Inherited Members

Constructors

NpgsqlSqlTranslatingExpressionVisitor(RelationalSqlTranslatingExpressionVisitorDependencies, QueryCompilationContext, QueryableMethodTranslatingExpressionVisitor)

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 NpgsqlSqlTranslatingExpressionVisitor(RelationalSqlTranslatingExpressionVisitorDependencies dependencies, QueryCompilationContext queryCompilationContext, QueryableMethodTranslatingExpressionVisitor queryableMethodTranslatingExpressionVisitor)

Parameters

dependencies RelationalSqlTranslatingExpressionVisitorDependencies
queryCompilationContext QueryCompilationContext
queryableMethodTranslatingExpressionVisitor QueryableMethodTranslatingExpressionVisitor

Methods

ConstructLikePatternParameter(QueryContext, string, StartsEndsWithContains)

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 static string? ConstructLikePatternParameter(QueryContext queryContext, string baseParameterName, NpgsqlSqlTranslatingExpressionVisitor.StartsEndsWithContains methodType)

Parameters

queryContext QueryContext
baseParameterName string
methodType NpgsqlSqlTranslatingExpressionVisitor.StartsEndsWithContains

Returns

string

GenerateGreatest(IReadOnlyList<SqlExpression>, Type)

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 override SqlExpression GenerateGreatest(IReadOnlyList<SqlExpression> expressions, Type resultType)

Parameters

expressions IReadOnlyList<SqlExpression>
resultType Type

Returns

SqlExpression

GenerateLeast(IReadOnlyList<SqlExpression>, Type)

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 override SqlExpression GenerateLeast(IReadOnlyList<SqlExpression> expressions, Type resultType)

Parameters

expressions IReadOnlyList<SqlExpression>
resultType Type

Returns

SqlExpression

VisitBinary(BinaryExpression)

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 Expression VisitBinary(BinaryExpression binaryExpression)

Parameters

binaryExpression BinaryExpression

Returns

Expression

VisitMethodCall(MethodCallExpression)

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 Expression VisitMethodCall(MethodCallExpression methodCallExpression)

Parameters

methodCallExpression MethodCallExpression

Returns

Expression

VisitNew(NewExpression)

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 Expression VisitNew(NewExpression newExpression)

Parameters

newExpression NewExpression

Returns

Expression

VisitNewArray(NewArrayExpression)

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 Expression VisitNewArray(NewArrayExpression newArrayExpression)

Parameters

newArrayExpression NewArrayExpression

Returns

Expression

VisitUnary(UnaryExpression)

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 Expression VisitUnary(UnaryExpression unaryExpression)

Parameters

unaryExpression UnaryExpression

Returns

Expression