Search Results for

    Show / Hide Table of Contents

    Class NpgsqlSqlNullabilityProcessor

    Inheritance
    object
    NpgsqlSqlNullabilityProcessor
    Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal
    Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
    Syntax
    public class NpgsqlSqlNullabilityProcessor : SqlNullabilityProcessor

    Constructors

    | Improve this Doc View Source

    NpgsqlSqlNullabilityProcessor(RelationalParameterBasedSqlProcessorDependencies, bool)

    Creates a new instance of the NpgsqlSqlNullabilityProcessor class.

    Declaration
    public NpgsqlSqlNullabilityProcessor(RelationalParameterBasedSqlProcessorDependencies dependencies, bool useRelationalNulls)
    Parameters
    Type Name Description
    RelationalParameterBasedSqlProcessorDependencies dependencies

    Parameter object containing dependencies for this class.

    bool useRelationalNulls

    A bool value indicating whether relational null semantics are in use.

    Methods

    | Improve this Doc View Source

    VisitAll(PostgresAllExpression, bool, out 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.

    Declaration
    protected virtual SqlExpression VisitAll(PostgresAllExpression allExpression, bool allowOptimizedExpansion, out bool nullable)
    Parameters
    Type Name Description
    PostgresAllExpression allExpression
    bool allowOptimizedExpansion
    bool nullable
    Returns
    Type Description
    SqlExpression
    | Improve this Doc View Source

    VisitAny(PostgresAnyExpression, bool, out 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.

    Declaration
    protected virtual SqlExpression VisitAny(PostgresAnyExpression anyExpression, bool allowOptimizedExpansion, out bool nullable)
    Parameters
    Type Name Description
    PostgresAnyExpression anyExpression
    bool allowOptimizedExpansion
    bool nullable
    Returns
    Type Description
    SqlExpression
    | Improve this Doc View Source

    VisitArrayIndex(PostgresArrayIndexExpression, bool, out 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.

    Declaration
    protected virtual SqlExpression VisitArrayIndex(PostgresArrayIndexExpression arrayIndexExpression, bool allowOptimizedExpansion, out bool nullable)
    Parameters
    Type Name Description
    PostgresArrayIndexExpression arrayIndexExpression
    bool allowOptimizedExpansion
    bool nullable
    Returns
    Type Description
    SqlExpression
    | Improve this Doc View Source

    VisitCustomSqlExpression(SqlExpression, bool, out bool)

    Declaration
    protected override SqlExpression VisitCustomSqlExpression(SqlExpression sqlExpression, bool allowOptimizedExpansion, out bool nullable)
    Parameters
    Type Name Description
    SqlExpression sqlExpression
    bool allowOptimizedExpansion
    bool nullable
    Returns
    Type Description
    SqlExpression
    | Improve this Doc View Source

    VisitILike(PostgresILikeExpression, bool, out 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.

    Declaration
    protected virtual SqlExpression VisitILike(PostgresILikeExpression iLikeExpression, bool allowOptimizedExpansion, out bool nullable)
    Parameters
    Type Name Description
    PostgresILikeExpression iLikeExpression
    bool allowOptimizedExpansion
    bool nullable
    Returns
    Type Description
    SqlExpression
    | Improve this Doc View Source

    VisitJsonTraversal(PostgresJsonTraversalExpression, bool, out 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.

    Declaration
    protected virtual SqlExpression VisitJsonTraversal(PostgresJsonTraversalExpression jsonTraversalExpression, bool allowOptimizedExpansion, out bool nullable)
    Parameters
    Type Name Description
    PostgresJsonTraversalExpression jsonTraversalExpression
    bool allowOptimizedExpansion
    bool nullable
    Returns
    Type Description
    SqlExpression
    | Improve this Doc View Source

    VisitNewArray(PostgresNewArrayExpression, bool, out 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.

    Declaration
    protected virtual SqlExpression VisitNewArray(PostgresNewArrayExpression newArrayExpression, bool allowOptimizedExpansion, out bool nullable)
    Parameters
    Type Name Description
    PostgresNewArrayExpression newArrayExpression
    bool allowOptimizedExpansion
    bool nullable
    Returns
    Type Description
    SqlExpression
    | Improve this Doc View Source

    VisitPostgresBinary(PostgresBinaryExpression, bool, out 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.

    Declaration
    protected virtual SqlExpression VisitPostgresBinary(PostgresBinaryExpression binaryExpression, bool allowOptimizedExpansion, out bool nullable)
    Parameters
    Type Name Description
    PostgresBinaryExpression binaryExpression
    bool allowOptimizedExpansion
    bool nullable
    Returns
    Type Description
    SqlExpression
    | Improve this Doc View Source

    VisitRegexMatch(PostgresRegexMatchExpression, bool, out 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.

    Declaration
    protected virtual SqlExpression VisitRegexMatch(PostgresRegexMatchExpression regexMatchExpression, bool allowOptimizedExpansion, out bool nullable)
    Parameters
    Type Name Description
    PostgresRegexMatchExpression regexMatchExpression
    bool allowOptimizedExpansion
    bool nullable
    Returns
    Type Description
    SqlExpression
    | Improve this Doc View Source

    VisitRowValueExpression(PostgresRowValueExpression, bool, out 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.

    Declaration
    protected virtual SqlExpression VisitRowValueExpression(PostgresRowValueExpression rowValueExpression, bool allowOptimizedExpansion, out bool nullable)
    Parameters
    Type Name Description
    PostgresRowValueExpression rowValueExpression
    bool allowOptimizedExpansion
    bool nullable
    Returns
    Type Description
    SqlExpression
    | Improve this Doc View Source

    VisitSqlBinary(SqlBinaryExpression, bool, out bool)

    Declaration
    protected override SqlExpression VisitSqlBinary(SqlBinaryExpression sqlBinaryExpression, bool allowOptimizedExpansion, out bool nullable)
    Parameters
    Type Name Description
    SqlBinaryExpression sqlBinaryExpression
    bool allowOptimizedExpansion
    bool nullable
    Returns
    Type Description
    SqlExpression
    | Improve this Doc View Source

    VisitSqlFunction(SqlFunctionExpression, bool, out 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.

    Declaration
    protected override SqlExpression VisitSqlFunction(SqlFunctionExpression sqlFunctionExpression, bool allowOptimizedExpansion, out bool nullable)
    Parameters
    Type Name Description
    SqlFunctionExpression sqlFunctionExpression
    bool allowOptimizedExpansion
    bool nullable
    Returns
    Type Description
    SqlExpression
    | Improve this Doc View Source

    VisitUnknownBinary(PostgresUnknownBinaryExpression, bool, out bool)

    Visits a PostgresUnknownBinaryExpression and computes its nullability.

    Declaration
    protected virtual SqlExpression VisitUnknownBinary(PostgresUnknownBinaryExpression unknownBinaryExpression, bool allowOptimizedExpansion, out bool nullable)
    Parameters
    Type Name Description
    PostgresUnknownBinaryExpression unknownBinaryExpression

    A PostgresUnknownBinaryExpression expression to visit.

    bool allowOptimizedExpansion

    A bool value indicating if optimized expansion which considers null value as false value is allowed.

    bool nullable

    A bool value indicating whether the sql expression is nullable.

    Returns
    Type Description
    SqlExpression

    An optimized sql expression.

    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team