Search Results for

    Show / Hide Table of Contents

    Class PostgresILikeExpression

    Represents a PostgreSQL ILIKE expression.

    Inheritance
    object
    PostgresILikeExpression
    Implements
    IEquatable<><PostgresILikeExpression>
    Namespace: Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal
    Assembly: Npgsql.EntityFrameworkCore.PostgreSQL.dll
    Syntax
    public class PostgresILikeExpression : SqlExpression, IEquatable<PostgresILikeExpression>

    Constructors

    | Improve this Doc View Source

    PostgresILikeExpression(SqlExpression, SqlExpression, SqlExpression?, RelationalTypeMapping?)

    Constructs a PostgresILikeExpression.

    Declaration
    public PostgresILikeExpression(SqlExpression match, SqlExpression pattern, SqlExpression? escapeChar, RelationalTypeMapping? typeMapping)
    Parameters
    Type Name Description
    SqlExpression match

    The expression to match.

    SqlExpression pattern

    The pattern to match.

    SqlExpression? escapeChar

    The escape character to use in pattern.

    RelationalTypeMapping? typeMapping

    The associated with the expression.

    Properties

    | Improve this Doc View Source

    EscapeChar

    The escape character to use in Pattern.

    Declaration
    public virtual SqlExpression? EscapeChar { get; }
    Property Value
    Type Description
    SqlExpression?
    | Improve this Doc View Source

    Match

    The match expression.

    Declaration
    public virtual SqlExpression Match { get; }
    Property Value
    Type Description
    SqlExpression
    | Improve this Doc View Source

    Pattern

    The pattern to match.

    Declaration
    public virtual SqlExpression Pattern { get; }
    Property Value
    Type Description
    SqlExpression

    Methods

    | Improve this Doc View Source

    Equals(PostgresILikeExpression?)

    Declaration
    public virtual bool Equals(PostgresILikeExpression? other)
    Parameters
    Type Name Description
    PostgresILikeExpression other
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    Equals(object?)

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object? obj
    Returns
    Type Description
    bool
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    | Improve this Doc View Source

    Print(ExpressionPrinter)

    Declaration
    protected override void Print(ExpressionPrinter expressionPrinter)
    Parameters
    Type Name Description
    ExpressionPrinter expressionPrinter
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    | Improve this Doc View Source

    Update(SqlExpression, SqlExpression, SqlExpression?)

    Creates a new expression that is like this one, but using the supplied children. If all of the children are the same, it will return this expression.

    Declaration
    public virtual PostgresILikeExpression Update(SqlExpression match, SqlExpression pattern, SqlExpression? escapeChar)
    Parameters
    Type Name Description
    SqlExpression match
    SqlExpression pattern
    SqlExpression? escapeChar
    Returns
    Type Description
    PostgresILikeExpression
    | Improve this Doc View Source

    VisitChildren(ExpressionVisitor)

    Declaration
    protected override Expression VisitChildren(ExpressionVisitor visitor)
    Parameters
    Type Name Description
    ExpressionVisitor visitor
    Returns
    Type Description
    Expression

    Implements

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